开发者

Can Adobe Air application turn off self-signed certificate warnings?

Disclaimer: I'm an Air newbie (about 20 minutes in to this experime开发者_运维问答nt).

I have a demo application using Adobe Air that accesses my own SSL web service that uses a self-signed certificate. In .NET clients, I can explicitly handle (and ignore) certificate warnings and suppress them via the ServicePointManager.ServerCertificateValidationCallback. Does anything similar exist in Air? I've examined the URLRequest and URLLoader classes but haven't found anything.


If you are using Windows XP install the untrusted or unknown certificate in your Trusted Root Certificate Authorities. You can install the certificate from Internet Explorer while accessing your site. There is a registered bug On Vista and Windows 7. The bug is not resolved yet.

So only solution (without changing server behaviour) is to add your self-signed certificate to system's Trusted Root.

There is additional info about Secure client sockets in AIR and SecureSocket class.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜