SSL key logging

I’d like to decipher k6 TLS traffic via Wireshark. In curl I can set the SSLKEYLOGFILE environment variable for curl to write to. Wireshark can read from there and decrypt TLS traffic. Can k6 support this?

Hi @hptabster,
Welcome to the community forum! :tada:

This is a feature we would support in the future but unfortunately not yet implemented. We have two open issues on GitHub (1043, 1385) for it.
It shouldn’t be something difficult to implement, so if you are familiar a bit with Go, feel free to contribute by submitting a PR. You’d be more than welcome.