server certificate change is restricted during renegotiation
<p>I am using java 1.6 in my machine and currently I am facing the below exception.</p>

<pre><code>JSSESocketFactory.makeSocket ldap. ... :636, server certificate change is restricted during renegotiation
</code></pre>

<p>for an work around I have updated below properties into my weblogic configuration setup</p>

<pre><code>-Dsun.security.ssl.allowUnsafeRenegotiation=true 
-Djdk.tls.allowUnsafeServerCertChange=true
</code></pre>

<p>But Still I am getting server certificate change is restricted during negotiation.</p>

<p>Please let me know if there is anything else I can update in the configuration.</p>

<p>Thanks for your help guys.</p>