Skip to content

Instantly share code, notes, and snippets.

@thikade
Created February 13, 2017 13:35
Show Gist options
  • Save thikade/c3859faeea2f9823c8ecb09ca323c432 to your computer and use it in GitHub Desktop.
Save thikade/c3859faeea2f9823c8ecb09ca323c432 to your computer and use it in GitHub Desktop.
Extract Private key from PKCS12 to use with wireshark / ssldump

Extract private key

openssl pkcs12 -in key.p12 -passin pass:*** -passout pass: -nocerts -out key.pem -nodes

cat key.pem

ssldump -k ./key.pem port 9043

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment