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

SSLExtension has incorrect name for PADDING and CLIENT_CERT_TYPE

XMLWordPrintable

        Ben Smyth reported this on the security-dev mailing list https://mail.openjdk.org/pipermail/security-dev/2022-June/031003.html:

        We have

            // extensions defined in RFC 7250
            CLIENT_CERT_TYPE (0x0013, "padding"),
            SERVER_CERT_TYPE (0x0014, "server_certificate_type"),

            // extensions defined in RFC 7685
            PADDING (0x0015, "client_certificate_type"),

        We should have

            // extensions defined in RFC 7250
            CLIENT_CERT_TYPE (0x0013, "client_certificate_type"),
            SERVER_CERT_TYPE (0x0014, "server_certificate_type"),

            // extensions defined in RFC 7685
            PADDING (0x0015, "padding"),


        This issue has been fixed in Java 16 and above but is still an issue in lower versions like Java 8 and Java 11.

              jnibedita Nibedita Jena
              jpai Jaikiran Pai
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: