Blog Archives

Unit Testing HTTPS Clients with a Self-signed Certificate

Overview A quick and easy way to eliminate 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 without making dangerous changes to your default trust store. Steps Create a new keystore and associated

Tagged with: , , , , , , ,
Posted in Java EE Development