Last active
May 9, 2017 09:26
-
-
Save Tony3-sec/2ba37c81774f68885f2e80ad30607e47 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tshark -nr example.pcap -Y ssl.handshake.certificates -T fields -e ssl.handshake.certificate | xxd -r -p | openssl x509 -inform DER -text | |
## Extract raw SSL certificate from Wireshark | |
1. Select Server Hello packet | |
2. Open Secure Socket Layer tab and choose "Certificate". Make sure not to include "Certificate Length:". Only need the data below | |
3. Right click and choose "Export Packet Bytes" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment