Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Tomcat web service, on localhost, "unable to find valid certification path"

843811Aug 23 2005 — edited Sep 13 2005
I have an Axis web service I've protected with SSL and basic HTTP auth. It's running (dev.) on my machine.

When I try to access the service with a Java tool, I get an exception (below). I'm not sure what to do since the instructions I've found online talk about adding the certificate to my keystore, but it's already there for Tomcat to use. It's "self signed", so is there something I need to do to say "trust self signed certs"?

Thanks!

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
(and on from there)
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 11 2005
Added on Aug 23 2005
2 comments
329 views