The javax.net.ssl.SSLHandshakeException:sun.security.validator.ValidatorException: No trusted certificate found exception can be caused by the Class 3 and Class 2 Verisign PCA root certificate included in various releases of the SDK and JRE that expired on January 7, 2004.
To solve this issue, import the Verisign Class 3 and Class 2 PCA root certificates into the J2SE certificates file (<java-home>/lib/security/cacerts):
- Download the most recent Verisign PCA root certificates from http://www.verisign.com/support/roots.html
- Unzip the downloaded file into the current directory.
- Import the new Class 3 and Class 2 PCA root certificates into the cacerts file.
For more detailed instructions, click here.