certificate validation failed problem in weblogic 9.2 and jdk 1.5
The project architecture is like this:
cas client on weblogic 9.2 with jdk 1.5.0_16 ------------->nginx(ssl on )----------->cas server.
A server certificate signed by a private CA is added to the nginx and java standard trusted keystore.
The server certificate is in pem format made by keytool in jdk1.7.
Error occurred when cas client on weblogic SSL-handshake with nginx :
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
at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:150)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1584)