Skip to content

Instantly share code, notes, and snippets.

@daler445
Created September 15, 2020 03:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daler445/fa5bb00b925aa231b34cf37c6b83042d to your computer and use it in GitHub Desktop.
Save daler445/fa5bb00b925aa231b34cf37c6b83042d to your computer and use it in GitHub Desktop.
SSL Pinning hash generator from domain name
openssl s_client -servername example.com -connect example.com:443 | openssl x509 -pubkey -noout | openssl rsa -pubin -outform der | openssl dgst -sha256 -binary | openssl enc -base64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment