Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8133817 Backport TLSv1.2 to JDK 6u
  3. JDK-8151298

Release Note: TLS v1.2 support now available

    XMLWordPrintable

Details

    Backports

      Description

        TLS v1.2 is now a TLS protocol option with the release of JDK 6u121. By default, TLSv1.0 will remain the default enabled protocol on client sockets.

        As an example, both the TLSv1.1 and TLSv1.2 protocols can be enabled for use on SSL/TLS connections via `SSLSocket/SSLEngine/SSLServerSocket`APIs:

        ```
        e.g.
        sslSocket.setEnabledProtocols(new String[] { "TLSv1.1", "TLSv1.2"});
         or by setting up and using a TLSv1.2 based SSLContext :
        e.g.
        SSLContext ctx = SSLContext.getInstance("TLSv1.2");
        or by using the SSLParameters API
        e.g.
        sslParameters.setProtocols(new String[] {"TLSv1.1", "TLSv1.2"});
        ```

        The new `jdk.tls.client.protocols` System Property may also be used to control the protocols in use for a TLS connection. JDK-8151183
        One may launch their application with this property. E.g. `java -Djdk.tls.client.protocols="TLSv1.2"` will enable only TLSv1.2 on client SSLSockets.

        Note that protocol versions specified via the new `jdk.tls.client.protocols` property will suppress any value set via the `jdk.tls.client.enableSSLv2Hello` property. SSLv2Hello can be passed to the `jdk.tls.client.protocols` value if necessary."

        Attachments

          Issue Links

            Activity

              People

                cwayne Clifford Wayne (Inactive)
                coffeys Sean Coffey
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: