JAEN

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 on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).

Get it free on the App Store