Skip navigation
Currently Being Moderated

AMF Connection via secure amf

Oct 16, 2013 2:05 AM

Tags: #https #secure #connection #amf

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

 

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