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.
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?