Copy link to clipboard
Copied
I'm writing an Air app and debugging it in FlashCS5.5..
I'm using https://paypal.com just as a sample, but it's returning an invalid cert?
What's going wrong here?
public function mySecureSocket() { | |||
_paymentSocket = new SecureSocket(); | |||
_hostName = "https://paypal.com"; | |||
_paymentSocket.connect(_hostName, 443); | |||
} |
private function onIOError(e:IOErrorEvent):void { | |||
trace (_paymentSocket.serverCertificateStatus); | |||
trace (e); | |||
} |
Output:
invalid
[IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2031: Socket Error. URL: https://paypal.com" errorID=2031]
Copy link to clipboard
Copied
Hello,
Does your application run on PCs or iOS device?
Thanks!
Copy link to clipboard
Copied
I realize this is an old post, but I'm also having trouble using socket with a secure site. Was there any resolution to this?
Thankyou.
Copy link to clipboard
Copied
This is a very big issue for us as well for all Android applications using secureSocket. Right now it shows up as invalid every time and is seriously affecting our ability to deliver apps for our clients.