Quantcast
Channel: Resolving javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed Error? - Stack Overflow
Viewing all articles
Browse latest Browse all 40

Answer by Hakan54 for Resolving javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed Error?

$
0
0

I would like to suggest a simple alternative based on certificate ripper which I have built myself. It extracts the server certificate and adds it the cacert truststore of the jdk. See below for the command.

crip export jks -u=https://[HOST:[PORT] -d=$JAVA_HOME/jre/lib/security/cacerts

In some cases you need to run it with sudo or admin rights. It is available for Windows, Mac and Linux. Binaries can be found here: certificate ripper binaries


Viewing all articles
Browse latest Browse all 40

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>