I am trying to connect to a server(tomcat) that have two nodes(node1 & node2). Both server are HTTPS enabled with clientAuth="true"(Mutual authentication is enabled).
From a java client(Another web application deployed in another server) i am trying to connect to these servers. In the java client i am setting the keystore & truststore path. Everything is working fine. But once a while we are getting the following exception in the client java program.
But once we restart the both server and client, the application again start working without any issue
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
Any suggestion/help appreciated?