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?