0 Replies Latest reply on Oct 16, 2013 2:05 AM by ndt.company

    AMF Connection via secure amf

    ndt.company

      Hi,

       

      I'm using Java AMF Client to talk to a LiveCycle server.

      when I try to open an AMFConnection to an https-URL, I get the following error:

       

      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

       

      Is it a general problem to use https for Java AMF Client or is there a way I can achieve this?

      In the API of AMFConnection I find the method "uri()", which is described with "Returns the HTTP or HTTPS url for the AMF connection", so I'd assume that AMFConnection should be working with https protocol.

       

      Can anyone give me a hint what I've to do to avoid the error mentioned above?

       

      Thanks

      Thanh