← All posts

Sniffing HTTPS Traffic in Chromium with Wireshark

Wireshark logo

To decrypt traffic from Chromium (or Chrome), configure the browser to write TLS session keys to a log file, then configure Wireshark to read that file.

Chromium setup

/usr/local/bin/chromium --ssl-version-max=tls1.3 --ssl-key-log-file=/tmp/sslkeylog.log

(For convenience, you can create a shell alias for this command.)

Wireshark setup

Go to Preferences > Protocols > TLS and specify the path to the key log file:

Configuring the TLS key log file in Wireshark

Wireshark can then display the decrypted traffic:

Decrypted HTTPS packets in Wireshark

Andrey Sozykin explains the process in more detail in these videos:

HTTPS decryption video 1 HTTPS decryption video 2

Comments are closed. Read the original discussion in Russian →