Bug #80709 Add NSS Key Logging support to client (and server?)

Submitted: 12 Mar 2016 9:27 Modified: 8 Jan 7:27
Reporter: Daniël van Eeden Email Updates:
Status: Open Impact on me:
None 
Category:MySQL Server: Command-line Clients Severity:S4 (Feature request)
Version:5.7.11, 8.0, 8.1 OS:Any
Assigned to: CPU Architecture:Any
Tags: key, logging, nss, openssl, SSL, tls

[12 Mar 2016 9:27] Daniël van Eeden
Description:
Please add support to log (EC)DH master/session keys in NSS Key Log Format.

This helps with:
- troubleshooting/debugging SSL/TLS issues
- dump traffic which can be used to warmup slaves or to do prefetching
- Use a network based audit tool

https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Key_Log_Format
https://www.openssl.org/docs/manmaster/apps/sess_id.html
https://wiki.wireshark.org/SSL#Using_the_.28Pre.29-Master-Secret

How to repeat:
See description
[2 Jun 2023 13:29] Daniël van Eeden
Update versions
[29 Aug 2023 19:42] Daniël van Eeden
Maybe support for SSLKEYLOGFILE as environment variable can be added via SSL_CTX_set_keylog_callback()

https://www.openssl.org/docs/man3.1/man3/SSL_CTX_get_keylog_callback.html
[8 Jan 7:27] Daniël van Eeden
ProxySQL can now do this: https://proxysql.com/blog/decrypting-ssl-tls-traffic-with-wireshark-and-proxysql/

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.053 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.