netscrew.dev/playbooks/tls-certificates
Networking concepts

TLS certificates — issuer, expiry, self-signed, and what to do before it lapses

netscrew reads the certificate on every HTTPS port it finds and counts down to expiry. Here's what the fields mean and when to worry.

Read it offline, in your terminal:n -h tls-certificates

When n check finds an HTTPS port it connects, reads the certificate and prints the subject (who it's for), the issuer (who vouched for it) and days to expiry.

Reading the line

Expiry

Look for yourself

openssl s_client -connect host:443 -servername host </dev/null 2>/dev/null | openssl x509 -noout -subject -issuer -dates