SSL (again)
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Macromedia Flash Server > SSL (again)




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    SSL (again)  
Edward J. Apostol


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-18-05 10:45 PM

Hi everyone -



I posted this question earlier this morning, not sure if it would be lost in
the deluge of Adobe acquires Macromedia postings, but I am gritting at the
teeth at this.maybe my previous post was confusing, so I have simplified it
below.



I have set up a few Win 2K Pro machines used by developers with IIS running
with SSL and a self-generated certificate using GnuWin32 tools. I was
showing junior developers how to generate their own certificates and run SSL
on their machines. Now what I want to show them is SSL and Flashcom.



So I created a simple client side Flash App to start off, with a username
field, a password field, and a submit button. On submit, I would make a
Flash Remoting call to a ColdFusion component that authenticates the user by
comparing their info to that found in a database.



My connection code looks like this -



//initialize the Flash Remoting MX Object



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

gatewayConnection = NetServices.createGatewayConnection();

authenticate_cfc =
gatewayConnection.getService("projects.abc.xyz.fcsauthenticate", this);



Similarly, I created a main.asc file which includes the following code
snippet;



// Load the NetServices Class Libraries

load("netservices.asc");

load("components.asc");



application.onConnect = function(clientObject, ticket_hash) {



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

var gatewayConnection = NetServices.createGatewayConnection();

var authenticate_cfc =
gatewayConnection.getService("projects.abc.xyz.fcsauthenticate", this);

//call the server function, authenticateUser,passing the username and
password

var invokeService = cf_authenticate_cfc.dologin(enc_info);

};





With SSL off, no certificates, and using
http://localhost/flashservices/gateway/ as the gateway, the whole
application works fine. However, whenever I invoke SSL with my
self-generated cert and using https://localhost/flashservices/gateway/ as
the gateway, I keep on getting this error



Error opening URL "https://localhost/flashservices/gateway".





Has anyone else encountered or found a resolution to this issue?










=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm






[ Post a follow-up to this message ]



    Re: SSL (again)  
Nick Gerig


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-18-05 10:45 PM

mmm...... i thought FCS couldnt deal with ssl connections on its own

have you read this:

http://www.macromedia.com/devnet/mx...ls_proxy04.html


cheers


Nick


Edward J. Apostol wrote:

>Hi everyone -
>
>
>
>I posted this question earlier this morning, not sure if it would be lost i
n
>the deluge of Adobe acquires Macromedia postings, but I am gritting at the
>teeth at this.maybe my previous post was confusing, so I have simplified it
>below.
>
>
>
>I have set up a few Win 2K Pro machines used by developers with IIS running
>with SSL and a self-generated certificate using GnuWin32 tools. I was
>showing junior developers how to generate their own certificates and run SS
L
>on their machines. Now what I want to show them is SSL and Flashcom.
>
>
>
>So I created a simple client side Flash App to start off, with a username
>field, a password field, and a submit button. On submit, I would make a
>Flash Remoting call to a ColdFusion component that authenticates the user b
y
>comparing their info to that found in a database.
>
>
>
>My connection code looks like this -
>
>
>
>//initialize the Flash Remoting MX Object
>
>
>
>NetServices.setDefaultGatewayUrl("https://localhost/flashservices/gateway")
;
>
>gatewayConnection = NetServices.createGatewayConnection();
>
>authenticate_cfc =
>gatewayConnection.getService("projects.abc.xyz.fcsauthenticate", this);
>
>
>
>Similarly, I created a main.asc file which includes the following code
>snippet;
>
>
>
>// Load the NetServices Class Libraries
>
>load("netservices.asc");
>
>load("components.asc");
>
>
>
>application.onConnect = function(clientObject, ticket_hash) {
>
>
>
>      NetServices.setDefaultGatewayUrl(
>"https://localhost/flashservices/gateway");
>
>      var gatewayConnection = NetServices.createGatewayConnection();
>
>      var authenticate_cfc =
>gatewayConnection.getService("projects.abc.xyz.fcsauthenticate", this);
>
>      //call the server function, authenticateUser,passing the username and
>password
>
>      var invokeService = cf_authenticate_cfc.dologin(enc_info);
>
>};
>
>
>
>
>
>With SSL off, no certificates, and using
>http://localhost/flashservices/gateway/ as the gateway, the whole
>application works fine. However, whenever I invoke SSL with my
>self-generated cert and using https://localhost/flashservices/gateway/ as
>the gateway, I keep on getting this error
>
>
>
>Error opening URL "https://localhost/flashservices/gateway".
>
>
>
>
>
>Has anyone else encountered or found a resolution to this issue?
>
>
>
>
>
>
>
>
>
>
>=-----------------------------------------------------------
>Supported by Fig Leaf Software - http://www.figleaf.com
>=-----------------------------------------------------------
>
>To change your subscription options or search the archive:
>http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
>
>
>





=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm






[ Post a follow-up to this message ]



    Re: SSL (again)  
Brian Lesser


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-18-05 10:45 PM

Hi Ed,
HTTPS is not supported when using remoting in Server-Side ActionScript.
Cheers,
-Brian

Edward J. Apostol wrote:

>Hi everyone -
>
>
>
>I posted this question earlier this morning, not sure if it would be lost i
n
>the deluge of Adobe acquires Macromedia postings, but I am gritting at the
>teeth at this.maybe my previous post was confusing, so I have simplified it
>below.
>
>
>
>I have set up a few Win 2K Pro machines used by developers with IIS running
>with SSL and a self-generated certificate using GnuWin32 tools. I was
>showing junior developers how to generate their own certificates and run SS
L
>on their machines. Now what I want to show them is SSL and Flashcom.
>
>
>
>So I created a simple client side Flash App to start off, with a username
>field, a password field, and a submit button. On submit, I would make a
>Flash Remoting call to a ColdFusion component that authenticates the user b
y
>comparing their info to that found in a database.
>
>
>
>My connection code looks like this -
>
>
>
>//initialize the Flash Remoting MX Object
>
>
>
>NetServices.setDefaultGatewayUrl("https://localhost/flashservices/gateway")
;
>
>gatewayConnection = NetServices.createGatewayConnection();
>
>authenticate_cfc =
>gatewayConnection.getService("projects.abc.xyz.fcsauthenticate", this);
>
>
>
>Similarly, I created a main.asc file which includes the following code
>snippet;
>
>
>
>// Load the NetServices Class Libraries
>
>load("netservices.asc");
>
>load("components.asc");
>
>
>
>application.onConnect = function(clientObject, ticket_hash) {
>
>
>
>      NetServices.setDefaultGatewayUrl(
>"https://localhost/flashservices/gateway");
>
>      var gatewayConnection = NetServices.createGatewayConnection();
>
>      var authenticate_cfc =
>gatewayConnection.getService("projects.abc.xyz.fcsauthenticate", this);
>
>      //call the server function, authenticateUser,passing the username and
>password
>
>      var invokeService = cf_authenticate_cfc.dologin(enc_info);
>
>};
>
>
>
>
>
>With SSL off, no certificates, and using
>http://localhost/flashservices/gateway/ as the gateway, the whole
>application works fine. However, whenever I invoke SSL with my
>self-generated cert and using https://localhost/flashservices/gateway/ as
>the gateway, I keep on getting this error
>
>
>
>Error opening URL "https://localhost/flashservices/gateway".
>
>
>
>
>
>Has anyone else encountered or found a resolution to this issue?
>
>
>
>
>
>
>
>
>
>
>=-----------------------------------------------------------
>Supported by Fig Leaf Software - http://www.figleaf.com
>=-----------------------------------------------------------
>
>To change your subscription options or search the archive:
>http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
>


=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm






[ Post a follow-up to this message ]



    RE: SSL (again)  
Edward J. Apostol


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-18-05 10:45 PM


Hi -

Thanks for responding.

Yes, I was looking at that as well. The development of the code was based on
Kevin Towes' article, posted at

http://www.macromedia.com/devnet/mx...fcs_secure_tick
et.pdf

where the data is being sent via Flash Remoting over HTTPS. FCS does not
handle SSL but you could in theory send the data through an SSL enabled
directory that has a CFC (via remoting). So in my case, I enabled SSL on the
local developers winXP Pro machine with a cert (it runs fine on its own,
without Flashcom)

Its weird, I will keep looking into it.

Cheers

-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.
org] On Behalf Of Nick Gerig
Sent: April 18, 2005 10:53 AM
To: FlashComm Mailing List
Subject: Re: [FlashComm] SSL (again)

mmm...... i thought FCS couldnt deal with ssl connections on its own

have you read this:

http://www.macromedia.com/devnet/mx...ls_proxy04.html


cheers


Nick


Edward J. Apostol wrote:

>Hi everyone -
>
>
>
>I posted this question earlier this morning, not sure if it would be lost
in
>the deluge of Adobe acquires Macromedia postings, but I am gritting at the
>teeth at this.maybe my previous post was confusing, so I have simplified it
>below.
>
>
>
>I have set up a few Win 2K Pro machines used by developers with IIS running
>with SSL and a self-generated certificate using GnuWin32 tools. I was
>showing junior developers how to generate their own certificates and run
SSL
>on their machines. Now what I want to show them is SSL and Flashcom.
>
>
>
>So I created a simple client side Flash App to start off, with a username
>field, a password field, and a submit button. On submit, I would make a
>Flash Remoting call to a ColdFusion component that authenticates the user
by
>comparing their info to that found in a database.
>
>
>
>My connection code looks like this -
>
>
>
>//initialize the Flash Remoting MX Object
>
>
>
>NetServices.setDefaultGatewayUrl("https://localhost/flashservices/gateway")
;
>
>gatewayConnection = NetServices.createGatewayConnection();
>
>authenticate_cfc =
>gatewayConnection.getService("projects.abc.xyz.fcsauthenticate", this);
>
>
>
>Similarly, I created a main.asc file which includes the following code
>snippet;
>
>
>
>// Load the NetServices Class Libraries
>
>load("netservices.asc");
>
>load("components.asc");
>
>
>
>application.onConnect = function(clientObject, ticket_hash) {
>
>
>
>      NetServices.setDefaultGatewayUrl(
>"https://localhost/flashservices/gateway");
>
>      var gatewayConnection = NetServices.createGatewayConnection();
>
>      var authenticate_cfc =
>gatewayConnection.getService("projects.abc.xyz.fcsauthenticate", this);
>
>      //call the server function, authenticateUser,passing the username and
>password
>
>      var invokeService = cf_authenticate_cfc.dologin(enc_info);
>
>};
>
>
>
>
>
>With SSL off, no certificates, and using
>http://localhost/flashservices/gateway/ as the gateway, the whole
>application works fine. However, whenever I invoke SSL with my
>self-generated cert and using https://localhost/flashservices/gateway/ as
>the gateway, I keep on getting this error
>
>
>
>Error opening URL "https://localhost/flashservices/gateway".
>
>
>
>
>
>Has anyone else encountered or found a resolution to this issue?
>
>
>
>
>
>
>
>
>
>
>=-----------------------------------------------------------
>Supported by Fig Leaf Software - http://www.figleaf.com
>=-----------------------------------------------------------
>
>To change your subscription options or search the archive:
>http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
>
>
>





=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm




=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm






[ Post a follow-up to this message ]



    RE: SSL (again)  
Edward J. Apostol


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-18-05 10:45 PM

Hi Brian -

Well, that's a darn...I guess I will look further into it then at the
security section on the Flashcom website...

thanks

Ed



-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.
org] On Behalf Of Brian Lesser
Sent: April 18, 2005 11:00 AM
To: FlashComm Mailing List
Subject: Re: [FlashComm] SSL (again)

Hi Ed,
HTTPS is not supported when using remoting in Server-Side ActionScript.
Cheers,
-Brian

Edward J. Apostol wrote:

>Hi everyone -
>
>
>
>I posted this question earlier this morning, not sure if it would be lost
in
>the deluge of Adobe acquires Macromedia postings, but I am gritting at the
>teeth at this.maybe my previous post was confusing, so I have simplified it
>below.
>
>
>
>I have set up a few Win 2K Pro machines used by developers with IIS running
>with SSL and a self-generated certificate using GnuWin32 tools. I was
>showing junior developers how to generate their own certificates and run
SSL
>on their machines. Now what I want to show them is SSL and Flashcom.
>
>
>
>So I created a simple client side Flash App to start off, with a username
>field, a password field, and a submit button. On submit, I would make a
>Flash Remoting call to a ColdFusion component that authenticates the user
by
>comparing their info to that found in a database.
>
>
>
>My connection code looks like this -
>
>
>
>//initialize the Flash Remoting MX Object
>
>
>
>NetServices.setDefaultGatewayUrl("https://localhost/flashservices/gateway")
;
>
>gatewayConnection = NetServices.createGatewayConnection();
>
>authenticate_cfc =
>gatewayConnection.getService("projects.abc.xyz.fcsauthenticate", this);
>
>
>
>Similarly, I created a main.asc file which includes the following code
>snippet;
>
>
>
>// Load the NetServices Class Libraries
>
>load("netservices.asc");
>
>load("components.asc");
>
>
>
>application.onConnect = function(clientObject, ticket_hash) {
>
>
>
>      NetServices.setDefaultGatewayUrl(
>"https://localhost/flashservices/gateway");
>
>      var gatewayConnection = NetServices.createGatewayConnection();
>
>      var authenticate_cfc =
>gatewayConnection.getService("projects.abc.xyz.fcsauthenticate", this);
>
>      //call the server function, authenticateUser,passing the username and
>password
>
>      var invokeService = cf_authenticate_cfc.dologin(enc_info);
>
>};
>
>
>
>
>
>With SSL off, no certificates, and using
>http://localhost/flashservices/gateway/ as the gateway, the whole
>application works fine. However, whenever I invoke SSL with my
>self-generated cert and using https://localhost/flashservices/gateway/ as
>the gateway, I keep on getting this error
>
>
>
>Error opening URL "https://localhost/flashservices/gateway".
>
>
>
>
>
>Has anyone else encountered or found a resolution to this issue?
>
>
>
>
>
>
>
>
>
>
>=-----------------------------------------------------------
>Supported by Fig Leaf Software - http://www.figleaf.com
>=-----------------------------------------------------------
>
>To change your subscription options or search the archive:
>http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
>


=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm




=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm






[ Post a follow-up to this message ]



    RE: SSL (again)  
Edward Chan


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-18-05 10:45 PM

FCS does not currently support SSL natively.  You cannot make https
connections out of FCS.  FCS handles incoming SSL connections thru the use
of an SSL proxy such as stunnel.


> -----Original Message-----
> From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gman
e.org]
> Sent: Monday, April 18, 2005 6:48 AM
> To: flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> Subject: [FlashComm] SSL (again)
>
> Hi everyone -
>
>
>
> I posted this question earlier this morning, not sure if it
> would be lost in the deluge of Adobe acquires Macromedia
> postings, but I am gritting at the teeth at this.maybe my
> previous post was confusing, so I have simplified it below.
>
>
>
> I have set up a few Win 2K Pro machines used by developers
> with IIS running with SSL and a self-generated certificate
> using GnuWin32 tools. I was showing junior developers how to
> generate their own certificates and run SSL on their
> machines. Now what I want to show them is SSL and Flashcom.
>
>
>
> So I created a simple client side Flash App to start off,
> with a username field, a password field, and a submit button.
> On submit, I would make a Flash Remoting call to a ColdFusion
> component that authenticates the user by comparing their info
> to that found in a database.
>
>
>
> My connection code looks like this -
>
>
>
> //initialize the Flash Remoting MX Object
>
>
>
> NetServices.setDefaultGatewayUrl("https://localhost/flashservi
> ces/gateway");
>
> gatewayConnection = NetServices.createGatewayConnection();
>
> authenticate_cfc =
> gatewayConnection.getService("projects.abc.xyz.fcsauthenticate
> ", this);
>
>
>
> Similarly, I created a main.asc file which includes the
> following code snippet;
>
>
>
> // Load the NetServices Class Libraries
>
> load("netservices.asc");
>
> load("components.asc");
>
>
>
> application.onConnect = function(clientObject, ticket_hash) {
>
>
>
>       NetServices.setDefaultGatewayUrl(
> "https://localhost/flashservices/gateway");
>
>       var gatewayConnection = NetServices.createGatewayConnection();
>
>       var authenticate_cfc =
> gatewayConnection.getService("projects.abc.xyz.fcsauthenticate
> ", this);
>
>       //call the server function, authenticateUser,passing
> the username and password
>
>       var invokeService = cf_authenticate_cfc.dologin(enc_info);
>
> };
>
>
>
>
>
> With SSL off, no certificates, and using
> http://localhost/flashservices/gateway/ as the gateway, the
> whole application works fine. However, whenever I invoke SSL
> with my self-generated cert and using
> https://localhost/flashservices/gateway/ as the gateway, I
> keep on getting this error
>
>
>
> Error opening URL "https://localhost/flashservices/gateway".
>
>
>
>
>
> Has anyone else encountered or found a resolution to this issue?
>
>
>
>
>
>
>
>
>
>
> =-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>

=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:06 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register