curl --tls-max 1.2 -v https://tls1.cryptohack.org
openssl s_client -tls1_2 -connect tls1.cryptohack.org:443
- Open tha capture file in Wireshark
- Edit -> Preferences -> RSA Keys -> Add new keyfile -> Select the .pem file containing private key
- Filter the packets:
http2
- Check out the packet no. 27
- Open tha capture file in Wireshark
- Edit -> Preferences -> Protocols -> TLS -> (Pre)-Master-Secret log filename -> Select the keylogfile
- Filter the packets:
http2
- Check out the packet no. 27