title: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: when SSL mutual authentication
body: <p>I am trying to connect to a server(tomcat) that have two nodes(node1 &amp; node2). Both server are HTTPS enabled with clientAuth="true"(Mutual authentication is enabled).</p>
  
  <p>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 &amp; truststore path. Everything is working fine. But once a while we are getting the following exception in the client java program.</p>
  
  <p>But once we restart the both server and client, the application again start working without any issue</p>
  
  <pre><code>    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
  </code></pre>
  
  <p>Any suggestion/help appreciated?</p>