Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

AMF Connection via secure amf

Avatar

Level 2

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

0 Replies