• Post Reply Bookmark Topic Watch Topic
  • New Topic

Connecting to a web service using https  RSS feed

Jeppe Sommer
Ranch Hand
Posts: 270
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to connect to an external webservice using https. My webserver is a Apache Tomcat/5.5.25, JVM 1.5.0_01-b08.

I have imported the root certficate from the external server in my keystore, but I still on getting the following error:

Detail: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

- Do I have to set any system property path in my code or maybe changing the settings in the server.xml file?

Thanks in advance.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!