Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Exception for SSl certificate

 
Abhay Tanaya
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 433
Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic