all groups > macromedia jrun flash remoting > december 2004 >
You're in the

macromedia jrun flash remoting

group:

Secure Flash Remoting (SSL) with IIS


Secure Flash Remoting (SSL) with IIS almis-
12/16/2004 1:32:25 AM
macromedia jrun flash remoting:
How can a Flash Remoting connection (between a Macromedia Flash movie running
in client's browser and a JRun server) be encrypted using SSL/HTTPS?

My company has web site running on a Windows 2003 Server computer with IIS6.0
installed.

The web site serves a Macromedia Flash movie (.swf file). The Flash movie uses
the Macromedia Flash Remoting to make remote method invocations on the server.
The server has a JRun server installed and serves up
some Java classes.

Using this setup, it is currently possible to make remote method invocations
from the Flash movie to, for example, a Login(String user, String Password)
Java method on the server. Everything works great.

The URL to the gateway for the Flash Remoting connection is specified in
ActionScript as follows:

NetServices.setDefaultGatewayUrl("http://domain/flashservices/gateway");

To securely submit the login information, it will however be necessary to use
an HTTPS encrypted connection to the Flash Remoting gateway:

NetServices.setDefaultGatewayUrl("https://domain/flashservices/gateway");

To make this happen I signed up to receive a security certificate (from
freessl.com). I followed the instructions on how to install it on the IIS
server and managed to enable a secure HTTPS connection for the company's web
pages. It is now possible to access all web pages using:

https://domain/anypage.html

But https://domain/flashservices/gateway can still only be accessed over a
non-secure connection, i.e. http://domain/flashservices/gateway.

So, perhaps a more specific question is: Why is
https://domain/flashservices/gateway not available when all other pages can be
accessed over HTTPS?

Any help or hints would be greatly appreciated!
Re: Secure Flash Remoting (SSL) with IIS fgwenger
1/7/2005 5:08:50 PM
Re: Secure Flash Remoting (SSL) with IIS almis-
1/7/2005 6:37:16 PM
Unfortunately, no.

I have not found any way of accessing the Flash Remoting gateway (hosted on
JRun) over HTTPS. *Please* let us know if anyone knows how to configure the
gateway. Any hints are greatly appreciated.
Re: Secure Flash Remoting (SSL) with IIS raycsoft
1/9/2005 11:58:01 AM
I'm having a problem with flash on a Secure site and found its due to the
codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
rsion=6,0,29,0' and the
pluginspage='http://www.macromedia.com/go/getflashplayer' If I leave the the
codebase and pluginspage parameters out its fine. I tried adding a secure
(https) URL , no good. Not sure if its the same problem you are having. I
searching for the best solution , will post if I find it.(I am using a plain
LAMP server)
Re: Secure Flash Remoting (SSL) with IIS almis-
1/11/2005 11:34:59 PM
I might have gotten past that problem.

Try hosting the Flash web page over HTTPS and changing
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
rsion=6,0,29,0"
and pluginspage="http://www.macromedia.com/go/getflashplayer" to


codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#v
ersion=6,0,29,0"
and
pluginspage="https://www.macromedia.com/go/getflashplayer" respectively.

At least that got me a bit further but I can still not connect to the flash
gateway. Any hints?


AddThis Social Bookmark Button