Linux

openssl

SafeInspect TLS/cert

openssl s_client -connect <host>:443

Inspects a server certificate / TLS handshake; triage expiry or chain issues.

Examples

  • openssl s_client -connect example.com:443 -servername example.comInspect the cert

Syntax

openssl s_client -connect <host>:443 [-servername <host>]

Before you run it

Read-only.

Used when you see

SSL / certificate errors
1
Inspect the certificateExpiry/CN/chain
See the whole flow →

Related commands

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store