Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8332524

Instead of printing "TLSv1.3," it is showing "TLS13"

    XMLWordPrintable

Details

    Backports

      Description

        In the following exception, "[TLS13]" is not formatted to print as "[TLSv1.3]".

        javax.net.ssl.SSLHandshakeException: The client supported protocol versions [TLSv1.2] are not accepted by server preferences [TLS13] errorCause: The client supported protocol versions [TLSv1.2] are not accepted by server preferences [TLS13]

        This should be a simple fix. The exception in ClientHello should pass context.activeProtocols to ProtocolVersion.toStringArray():

        https://github.com/openjdk/jdk/blob/d6b7f9b170b6ce4f7275cc7595b71b9a3e93c133/src/java.base/share/classes/sun/security/ssl/ClientHello.java#L907

        Attachments

          Issue Links

            Activity

              People

                jnibedita Nibedita Jena
                shadowbug Shadow Bug
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: