Support SSLKEYLOGFILE
environment variable
#23989
Labels
cli
related to cli/ dir
suggestion
suggestions for new features (yet to be agreed)
tls
Issues related to TLS implementation
To debug encrypted traffic on the client side, utilities like Wireshark need encryption secrets. User applications generate a log file (contains encryption secrets) that can be consumed by Wireshark if you set
SSLKEYLOGFILE
environment variable or provide an appropriate flag.The format used in log file is NSS Key Log Format (primary source returns 404).
SSL Key Log generation is supported by the following environments:
SSLKEYLOGFILE
environment variableKeyLogWriter
field in config of crypto/tls package https://pkg.go.dev/crypto/tls#example-Config-KeyLogWriter--tls-keylog
flag and emitskeylog
eventEdit: the implementation should be straightforward. Rustls already supports the environment variable.
The text was updated successfully, but these errors were encountered: