I have set the environment variable SSLKEYLOGFILE for decrypting https traffic using wireshark. This works for traffic sent using any browser but doesn't work for python requests module generated traffic.
So can you plesse answer these two questions I have:
q1. Why after setting the SSLKEYLOGFILE env variable we are able to decrypt tls traffic from any browser. Do browsers export the keys if they see SSLKEYLOGFILE env var set?
q2. How do I decrypt the tls traffic generated by the requests module?
The file format is <Label> <space> <ClientRandom> <space> <Secret>
where:
Label
- is for protocol identificationClientRandom
- is the session id (ssl_session)Secret
- is the master keyIf you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With