An invalid certificate name causes a sandbox security error in Adobe Flash.

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 #2032: Stream Error. URL: https://192.168.0.1/path-to-script/

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.

?

+3
3

, . , .

, . (: - .)

, Adobe ( Flash) , .

IP- , , IP-, : http://www.ssl247.com/ssl-certificates/type/ip-address

+3

.
https://localhost https://192.168.0.1 - .
crossdomain localhost.

[EDIT]
https

> <?xml version="1.0"?> <!DOCTYPE
> cross-domain-policy SYSTEM
> "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
> <cross-domain-policy>
>     <allow-access-from domain="www.company.com"
> secure="false" />  
> </cross-domain-policy>
+2

The_asMan , crossdomain, swf swf swf . , , IP- , . -, , , ( ). , , - - , , , . , Xampp, localhost, , , -.

Here is some NFO for the error that corresponds to what I say:

http://www.judahfrangipane.com/blog/2007/02/15/error-2032-stream-error/

0
source

All Articles