Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Stop the server.

  2. Open the <ESB_HOME>/repository/conf/axis2/axis2.xml file and based on the JDK version you are using add the specified parameter under the <transportReceiver name="https" class="org.apache.synapse.transport.passthru.PassThroughHttpSSLListener"> element as well as under the <transportSender name="https" class="org.apache.synapse.transport.passthru.PassThroughHttpSSLSender"> element.

    • If you are using JDK 1.6, add the following parameter:

      Code Block
      <parameter name="HttpsProtocols">TLSv1</parameter> 
    • If you are using JDK 1.7, add the following parameter:

      Code Block
      <parameter name="HttpsProtocols">TLSv1,TLSv1.1,TLSv1.2</parameter> 
    • If you are using JDK 1.8, add the following parameter:

      Code Block
      <parameter name="HttpsProtocols">TLSv1,TLSv1.1,TLSv1.2</parameter> 
  3. Start the server.

  4. Test the pass-through transport using the following command with the corresponding port:

    Code Block
    $ java -jar TestSSLServer.jar localhost 8243