0 Replies Latest reply on Mar 28, 2013 12:06 PM by 536018

    SSLHandshake allowUnsafeRenegotiation

    536018
      Hi, I have a SSLHandshake problem. I have a system that call two different service X and Y,
      the service X works with the system property

      System.setProperty( "sun.security.ssl.allowUnsafeRenegotiation", "true" );

      The Y service works without this property or with

      System.setProperty( "sun.security.ssl.allowUnsafeRenegotiation", "flase" );

      Is there any solution to set this properties in a higer level ???
      I tried to set this property on the provider

      BouncyCastleProvider provider = new BouncyCastleProvider();
      provider.setProperty("sun.security.ssl.allowUnsafeRenegotiation", "true");
      java.security.Security.addProvider(provider);

      but I have the same problem.
      Do you have any ideas how to solve the problem??
      Thanks.