AIR 19-22, SecureSocket: certificate is always invalid on Android
when using securesocket ssl connection, connection established on windows not on android devices: securecertificatestatus "invalid" host, google.com.
in previous versions of air not issue, , in air 19 openssl updated believe has it.
here's code fore reproducing issue:
var ss:securesocket = new securesocket();
ss.addeventlistener(event.connect, connect);
ss.addeventlistener(ioerrorevent.io_error, ioerror);
ss.connect("google.com", 443);
function ioerror(event:ioerrorevent):void{
trace(event);
trace(ss.servercertificatestatus);
trace("not connected!");
}
function connect(event:event):void{
trace("connected!");
}
is there solution make connectable?
we can confirm have same issue air android. checked air versions 18 , 23 , got same error:
[trace] [ioerrorevent type="ioerror" bubbles=false cancelable=false eventphase=2 text="error #2031: socket error. url: google.com" errorid=2031]
[trace] principalmismatch
web , ios versions work fine. issue seems on android only.
More discussions in AIR Bugs and Performance Issues
adobe
Comments
Post a Comment