Open a TLS session and print certificate details.
Section: HTTP and TLS Testing
Inspect TLS certificate chain
bash
bash
openssl s_client -connect example.com:443 -servername example.comExplanation
Open a TLS session and print certificate details.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing HTTP and TLS Testing
Show certificate dates
Print notBefore and notAfter fields from a certificate file.
Send request from interface
Use a specific local interface for outbound traffic.