Axis over SSL and authentication with a PKCS#12 keystore
Posted
by Camilo Díaz
on Stack Overflow
See other posts from Stack Overflow
or by Camilo Díaz
Published on 2010-04-07T15:40:28Z
Indexed on
2010/04/07
15:43 UTC
Read the original article
Hit count: 758
I have PKCS#12 keystore that I've sucessfully imported in my browser for accessing a server that needs 2-way SSL authentication. Works perfectly reaching any https URL there.
However, I'm unable to access an URL in the same server, and from the same host when using Axis 1.4. The given Axis faultString is:
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
My javax.net.ssl.{keyStore,keyStorePassword,keyStoreType}
properties seem to be set up fine.
How can I solve this?
© Stack Overflow or respective owner