Key log
1. Let the app write its keys: SSLKEYLOGFILE.
Chromium-based browsers (Chrome, Brave, Edge), Firefox, Electron apps and curl built with OpenSSL append their session keys to the file the SSLKEYLOGFILE environment variable names. Quit the browser completely, then start it from Terminal with the variable set, for example:
SSLKEYLOGFILE=~/tls-keys.log "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"
Capture while you browse, then add tls-keys.log under Sources in the TLS Keys window (Trace ▸ Trace TLS Keys…). The matching sessions decrypt. Or give the key log the trace’s name with the extension .keys and put it next to the trace: it is read as soon as the trace opens.


