I am testing the message of my Adobe Flash application on the server using HTTPS .
If I make a request, https://localhosteverything is in order. But if the request URL is set to https://192.168.0.1, URLLoader fails with this Stream error:
Error
If I call the URL in the browser, I get a security warning that I can override (in Chrome):
This is probably not the site you are looking for!
[Proceed anyways] [Back to safety]
Of course, because the certificate name ("localhost") does not match the IP address.
Now, is it possible to ignore / suppress this warning / error? for example, is it possible if I used the flash.net.Socket class?
UPDATE
Now I have conducted more rigorous tests.
crossdomain.xml I alreadyusing:
<?xml version="1.0"?>
<cross-domain-policy>
<site-control permitted-cross-domain-policies="master-only"/>
<allow-access-from domain="*" secure="false" />
<allow-http-request-headers-from domain="*" headers="*" />
</cross-domain-policy>
:
Flash http://www.domain-A.com
URLLoader https://www.domain-B.com/demo.html
:
Flash - http://www.domain-A.com
URLLoader https://{IP_OF_SERVER}/demo.html
, Flash crossdomain.xml - "bad certificate name". ( , www.domain-B.com, IP-)
:
*** ***
https://{IP_OF_SERVER}/demo.html requestor http://www.domain-A.com/flash/demo.swf - .
, :
https://65.54.186.107/ ( IP- https://login.live.com)
, / .
", , !" Google Chrome
" " Firefox
" -". IE
...
"" Flash.
Flash " " SSL, , flash.net.Socket class.
?