Skip to content

Instantly share code, notes, and snippets.

@sheilambadi
Created February 15, 2020 13:43
Show Gist options
  • Save sheilambadi/73e0e1be912d7785cd7f2167d7ecba9e to your computer and use it in GitHub Desktop.
Save sheilambadi/73e0e1be912d7785cd7f2167d7ecba9e to your computer and use it in GitHub Desktop.
Obtain website certificate and view public key (by printing certificate in text form)
openssl s_client -connect www.cmu.edu:443 -tls1 -servername www.cmu.edu | openssl x509 -text
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment