0 Replies Latest reply on Jan 22, 2010 12:43 PM by ijb2012

    AMFConnection and SSL javax.net.ssl.SSLHandshakeException

    ijb2012 Level 1

      I am trying to establish AMFConnection to a server which uses private certificate. This fai

      ls with SSL handshake exception:


      12:16:18 test.TestAMF FATAL [main] - java.security.KeyManagementException: Default SSLContext is initialized automatically
      12:16:19 test.TestAMF FATAL [main] - ClientStatusException
          message: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
          code: AMFConnection.Call.Failed


      In Java I can install my own SSL Trust Manager which handles the above case, but I have no idea how to do this for AMFConnection.


      Any hint is appreciated