I have a Flex app that needs to access data from a SOAP web service over https with a self signed certificate. The app needs to ignore the https warnings, just as a browser would warn & allow the user to proceed. Buying a valid signed certificate is not an option for us.
It works fine over http.
How can I achieve this?
I read that URLRequest has a property: authenticate, that I can set to false. However, this property is available only for Adobe AIR applications from what I can see. This doesn't seem available for Flex apps.
I have tried this in both Flex 3 & the latest Flash Builder 4. Have the same issue in both cases.
I believe you can do this. Example: a swf loading from a site that is http, with the backend data coming in from another site which is https
Check the docs on this link:
I believe the allowInsecureDomain() feature is what you want to use.
Understand, that you'll be side stepping part of the security benefits of https. But it can be done.
Thanks for responding. I tried this. Didn't work.
I'm getting a certificate error that I want to ignore. Any other tips appreciated.