On Tue, 9 Mar 2021 17:18:39 GMT, SalusaSecondus <[email protected]> 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. ------------- Changes requested by xuelei (Reviewer). PR: https://git.openjdk.java.net/jdk/pull/2896
