Linux Networking Admin Cheat Sheet/Inspect TLS certificate chain

Connect and print TLS handshake details.

Section: DNS HTTP and Remote Connectivity

Inspect TLS certificate chain

bash
bash
openssl s_client -connect example.com:443 -servername example.com
Explanation

A go-to tool for TLS debugging and certificate inspection.

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 DNS HTTP and Remote Connectivity
Trace DNS delegation
Follow DNS resolution from root to answer.
OpenIn sheetbashsame section
Lookup MX records
Query mail exchanger records.
OpenIn sheetbashsame section
Verbose HTTP request
Show request/response details and TLS handshake summary.
OpenIn sheetbashsame section
POST JSON to API
Send JSON body in an HTTP POST request.
OpenIn sheetbashsame section
Create local SSH port forward
Forward a local port to a remote host/port through SSH.
OpenIn sheetbashsame section
Install SSH public key
Copy your public key to a remote account.
OpenIn sheetbashsame section