This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JDBC and the fly likes Exception in connect_var: javax.net.ssl.SSLHandshakeException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Exception in connect_var: javax.net.ssl.SSLHandshakeException" Watch "Exception in connect_var: javax.net.ssl.SSLHandshakeException" New topic
Author

Exception in connect_var: javax.net.ssl.SSLHandshakeException

Abhay Tanaya
Greenhorn

Joined: Feb 03, 2009
Posts: 8
Hi

I am getting below wxception. Certificates are installled on ap server. But some times we are getting exceptions inthat case we have to restart the server. FAter restarting server we are able to connect.

Exception in connect_var: 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


Please let me know if any one have any solution on this.

Thanks
Abhay
 
Consider Paul's rocket mass heater.
 
subject: Exception in connect_var: javax.net.ssl.SSLHandshakeException
 
Similar Threads
javax.net.ssl.SSLHandshakeException
Unable to call webservice over SSL
Exception for SSl certificate
Exception caught while sending https secure messages
Web Service Client & Certificate