title: main, RECV TLSv1 ALERT: fatal, handshake_failure
body: <p>I have a JAXWS client where I have configured the two properties for mutual authentication:</p>
  
  <pre><code>System.setProperty("javax.net.ssl.keyStore","sample.jks");
  System.setProperty("javax.net.ssl.keyStorePassword","xxxx");        
  System.setProperty("javax.net.debug", "all");
  </code></pre>
  
  <p>From the logs, I see the following error at the end:</p>
  
  <pre><code>main, READ: TLSv1 Alert, length = 2
  main, RECV TLSv1 ALERT:  fatal, handshake_failure
  %% Invalidated:  [Session-1, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA]
  main, called closeSocket()
  main, handling exception: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
  </code></pre>
  
  <p>I am not able to figure out the reason for this error. </p>
  
  <p>Any help would be greatly appreciated.</p>