4 Replies Latest reply on Jul 17, 2007 1:07 PM by Maü

    ssl og https connection

    JesperBisgaard
      Hi,

      I have two flash applications which are running from my desktop and both of these are communicating with a web server in order to transfere data to a centralised database. It is working with a normal http connection, but now it is very important that this communication is change this to a secure https connection. Unfortunetly i havnt been able to find a good source which can tell me how to do this. I have tried a number of different sites and tutorials, but i cant seem to get it to work.

      So if any of you could give me advice as to what i should do or give me some pointers to useful resources on this i would be very greatful.

      thanks in advance

      Jesper
        • 1. Re: ssl og https connection
          TimSymons Level 1
          Jesper,

          What exactly are you having probelms finding? Does the webserver already have an SSL certificate installed on it? If so, then just use https: in your communication string with the server.

          Tim
          • 2. Re: ssl og https connection
            JesperBisgaard Level 1
            The server has a SSL certificate, but i have tried to http in the communication strings to https and i keep getting error cant open url.
            • 3. Re: ssl og https connection
              TimSymons Level 1
              Jesper,

              Your particular issue doesn't sound execatly like what is in the Help files but they may help you get a better understanding on Flashes secure communication methods.

              <Copied from the Flash 8 Help Files>

              HTTP to HTTPS protocol access between SWF files
              You must use an allowDomain handler or method to permit a SWF file in one domain to be accessed by a SWF file in another domain. However, if the SWF file being accessed is hosted at a site that uses a secure protocol (HTTPS), the allowDomain handler or method doesn't permit access from a SWF file hosted at a site that uses an insecure protocol. To permit such access, you must use the LocalConnection.allowInsecure Domain() or System.security.allowInsecureDomain() statements. See Allowing HTTP to HTTPS protocol access between SWF files for more information.


              Tim
              • 4. Re: ssl og https connection
                Maü
                Did you resolve this? Any help about this is welcome.

                tahnks

                quote:

                Originally posted by: JesperBisgaard
                Hi,

                I have two flash applications which are running from my desktop and both of these are communicating with a web server in order to transfere data to a centralised database. It is working with a normal http connection, but now it is very important that this communication is change this to a secure https connection. Unfortunetly i havnt been able to find a good source which can tell me how to do this. I have tried a number of different sites and tutorials, but i cant seem to get it to work.

                So if any of you could give me advice as to what i should do or give me some pointers to useful resources on this i would be very greatful.

                thanks in advance

                Jesper