Support Services

When I attempt to write data to the SSL socket using Java, I get an exception. What's going on?

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):

  1. Download the most recent Verisign PCA root certificates from http://www.verisign.com/support/roots.html
  2. Unzip the downloaded file into the current directory.
  3. Import the new Class 3 and Class 2 PCA root certificates into the cacerts file.

For more detailed instructions, click here.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.