Skip to content

Instantly share code, notes, and snippets.

@BondAnthony
Created June 9, 2020 00:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save BondAnthony/6cf84aac9aec432cbe3f88ba01f54484 to your computer and use it in GitHub Desktop.
Save BondAnthony/6cf84aac9aec432cbe3f88ba01f54484 to your computer and use it in GitHub Desktop.
The fun of openssl

All those OpenSSL commands

Pull certificates for a domain

openssl s_client -showcerts -connect abond.dev:443

Add the following flag to run SNI negotiation.

 -servername abond.dev

Validate certificate with CA bundle

openssl verify -verbose -CAfile <(cat myca.ca-bundle) mycert.crt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment