Skip to content

Instantly share code, notes, and snippets.

@alexlopes
Created August 3, 2023 12:58
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 alexlopes/8685a5984a16d31284cfdaed3f1b2f62 to your computer and use it in GitHub Desktop.
Save alexlopes/8685a5984a16d31284cfdaed3f1b2f62 to your computer and use it in GitHub Desktop.
OpenSSL tricks

Check match cert and private key

openssl s_server -cert my_cert.crt -key my_pvt_key.key -debug

Check secured connection

openssl s_client -connect google.com:443

Show certificate content (RSA)

openssl rsa -in my_cert.pem devops -check -noout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment