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

Cipher Suite Preference section of JSSE guide should be updated to use server's cipher suite preference

XMLWordPrintable

        In JDK 13, the cipher suite selection was changed to honor the server's cipher suite preference by default, see https://bugs.openjdk.org/browse/JDK-816826.

        However, the JSSE guide was not updated and still says the client's preference is used. This section needs to be updated: https://docs.oracle.com/en/java/javase/20/security/java-secure-socket-extension-jsse-reference-guide.html#GUID-EFC2FACC-680C-42CE-A3A9-E9A6673EA813

        I suggest changing the last two sentences to:

        "The selection honors the server's preference by default, which is the most secure setting. However, the server can choose to honor the client's preference rather than its own preference, by invoking the method SSLParameters.setUseCipherSuitesOrder(false)."

              rgallard Raymond Gallardo
              mullan Sean Mullan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: