RFR: 8294527: Some java.security.debug options missing from security docs

Sean Mullan mullan at openjdk.org
Mon Jan 30 16:40:19 UTC 2023


On Mon, 30 Jan 2023 10:23:59 GMT, Ryan Wallace <duke at openjdk.org> wrote:

> Hi, small change to the java.security.debug to enhance help() with missing options.

src/java.base/share/classes/sun/security/util/Debug.java line 90:

> 88:         System.err.println("              PKCS11 KeyStore debugging");
> 89:         System.err.println("pkcs12        PKCS12 KeyStore debugging");
> 90:         System.err.println("properties    Prints which java.security Security Properties file that the JDK uses");

This prints the initial values of all security properties (whether overridden or not) and other miscellaneous useful info when parsing the java.security file. I think we can just generalize this to "Security property and configuration file debugging". The other help options are fairly general.

-------------

PR: https://git.openjdk.org/jdk/pull/12289


More information about the security-dev mailing list