This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Security and the fly likes Exception for  SSl certificate Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Engineering » Security
Reply Bookmark "Exception for  SSl certificate" Watch "Exception for  SSl certificate" New topic
Author

Exception for SSl certificate

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
Joachim Rohde
Ranch Hand

Joined: Nov 27, 2006
Posts: 423

Are the certificates self-signed? I had once the problem with a self-signed certificate which expired and (I think at least) I was getting the same exception. Are your startup-scripts somehow customized (e.g. deploying a new certificate on each restart)? And what does "sometimes" mean? Each day, each month? Is there a pattern?

Last but not least maybe a helpful reading: http://blogs.sun.com/andreas/entry/no_more_unable_to_find
Abhay Tanaya
Greenhorn

Joined: Feb 03, 2009
Posts: 8
Hi
Thanks for your reply. There is not pattern. Sometimes means it happens at any time. I cannt understand behaviour.
The link which you have provided that might be helpfull for me.

Thanks
Abhay
 
 
subject: Exception for SSl certificate
 
Similar Threads
Exception in connect_var: javax.net.ssl.SSLHandshakeException
"Exception processing JAR at resource path" error.
Exception in deploying axis2.war in JBoss4.05
not bound?
Unsatisfied Link Error : Native library XXXX.so already loaded in another classloader