title: Exception: server certificate change is restricted during renegotiation
body: <p>I get this exception:</p>
  
  <blockquote>
    <p>javax.net.ssl.SSLHandshakeException: server certificate change is restricted during renegotiation</p>
  </blockquote>
  
  <p>I found that I have to change client check to allow renegotiation with these properties:</p>
  
  <ul>
  <li><p><code>Djdk.tls.allowUnsafeServerCertChange=true</code></p></li>
  <li><p><code>Dsun.security.ssl.allowUnsafeRenegotiation=true</code></p></li>
  </ul>
  
  <p>But where these properties should be added?</p>