RFR: 8262880: Add support for the NSS Key Log Format for SSL/TLS keys

Volker Simonis simonis at openjdk.java.net
Thu Mar 11 18:36:19 UTC 2021


On Thu, 11 Mar 2021 16:33:10 GMT, Xue-Lei Andrew Fan <xuelei at openjdk.org> wrote:

>> This is my implementation for [JDK-8262880](https://bugs.openjdk.java.net/browse/JDK-8262880) and enables creating of an SSL/TLS key log in the standardized [NSS Key Log Format](https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Key_Log_Format). This is supported by many TLS implementations and also by several parsers such as Wireshark. Supporting this will greatly ease in debugging TLS problems.
>> 
>> (Note: I am covered by the Amazon corporate contribution agreement).
>
> It is not good practice to leave secret information in debug log. Also, it may be not a good practice to introduce new logger format, including file and NSS format, into the SSLLogger.  Someone also may want to introduce log format for MSS or XSS as well. Instead, please consider to make use of the features of Java Logger if you want to write the log to files, or use any special format.

I'm happy to create a CSR for this issue once the exact details of the option format have been figured out.

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

PR: https://git.openjdk.java.net/jdk/pull/2896



More information about the security-dev mailing list