title: Will Timezone Change affect SSL Handshakes?
body: <p>I faced a weird issue (which is resolved without any action :-)) and just wanted to know if some one knows how it might have happened. </p>
  
  <p><strong>Background:</strong></p>
  
  <p>So my testing server has a logic which connects to a payment gateway (third party) using a REST URL to get the list of banks it supports. Since its a background connection &amp; constant service URL, I have used dummy truststore for my http client ( Something like <a href="https://stackoverflow.com/questions/2642777/trusting-all-certificates-using-httpclient-over-https">this</a>). My app is running on a server with UTC timezone.</p>
  
  <p><strong>The Problem:</strong></p>
  
  <p>This is how it started, from October 31, 2016 EOD to November 1 , 2016 EOD - whne ever the https REST URL was accessed It thrown a "<code>javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated</code>" exception. The java version was open-jdk-1.7.0.09 &amp; I tried on a different server with same configuration the situation was same. When I updated the java to 1.7.0.101 in one server it started working. I left the problem to cehck for today &amp; on <code>Nov 2, 2016</code> just with a jvm restart everything works fine. There is no problem with certificate validation / connection. One weird fact I found was the java default timezone changed to <code>America/Los Angeles</code> from <code>UTC</code>. Also the daylight savings was set to true (Ok October has ended).</p>
  
  <p><strong>Question:</strong></p>
  
  <p>Is there any connection for the Timezone with SSL handshakes? I do not see any other change in the environment / code. Does any one know something about this?
  I hope this is not a violation of question standards :-)</p>