Forum Discussion
MarcusJ
Staff
12 years agoHi,
I'm not aware of any options to disable checking for a valid certificate. Are you getting this exception:
"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"
There was a fix to that in the 4.6.4 maintenance builds, even though that may have been for using a valid certificate.
You may also want to look at this link for how to avoid the exception:
http://www.java-samples.com/showtutoria ... rialid=210
I'm not aware of any options to disable checking for a valid certificate. Are you getting this exception:
"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"
There was a fix to that in the 4.6.4 maintenance builds, even though that may have been for using a valid certificate.
You may also want to look at this link for how to avoid the exception:
http://www.java-samples.com/showtutoria ... rialid=210