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

Incomplete JSSE docs for FFDHE

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Delivered
    • Icon: P4 P4
    • 22
    • None
    • docs

        The JSSE guide does not explain in enough detail how FFDHE and the jsse.enableFFDHE system property affects DH key exchange when other properties are set such as the jdk.tls.ephemeralDHKeySize system property.

        Proposal is to add the following paragraph as the 2nd paragraph of https://docs.oracle.com/en/java/javase/21/security/java-secure-socket-extension-jsse-reference-guide.html#GUID-D9B216E8-3EFC-4882-B76E-17A87D8F2F9D :

        Unless the jdk.tls.ephemeralDHKeySize system property is set to "legacy",
        the SunJSSE implementation will first try to negotiate a common DH group
        using FFDHE, which is a TLS extension defined by RFC 7919.
        If a group can be negotiated, the size defined by that group
        will be used. Otherwise,the implementation will fallback to using a keysize
        as described below. FFDHE is enabled by default, but
        can be disabled by setting the system property jsse.enableDHE to "false".

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

                Created:
                Updated:
                Resolved: