Skip navigation
Currently Being Moderated

AMF over HTTPS (Unkown CA)

Sep 3, 2010 2:28 PM



I have a problem with our flexunit test suite. We created an AMF messaging layer and communicate with our server over HTTPS. Works fine in the browser with manual testing.


We developed a unit test suite for the messaging layer and wanted to test the secure communication as integration tests. I automated the test suite with ANT which works fine on my Ubuntu even in headless mode. Unfortunately the secure communication tests fail with a timeout. The reason for this is an "Unkown CA" error. I tried to store the certificate in the default Java cacert but that didn't do the trick. Does anybody know what to do to make it work?




- Tilman

  • Currently Being Moderated
    Sep 3, 2010 5:29 PM   in reply to Tilman_PPP

    @Tilman_PPP - The only thing I can think is that the CA is not trusted by the SA Flash Player.  I usually encounter this issue in the browser when using self-signed certs.  If the SA FP is anything like the plugin, I think it will reference the OS' cert store to validate.  I know on the Mac you can add the cert to your Keychain, but I'm unsure of the mechanism to use in Ubuntu.  With a little Google'ing I found these instructions on the Ubuntu help section: tml.


    Hope this helps.  Let us know how it goes.



    Mark as:
  • Currently Being Moderated
    Sep 11, 2010 10:37 AM   in reply to Tilman_PPP

    The only other suggestion I can make is to launch the tests using the browser and register the cert that way.  If that isn't an option then you'll have to post to the FP forums for further help.  Let us know how it goes.  -Brian

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points