Home >Blog

How to Check an SSL Certificate on a Server: 4 Methods

Published Updated

Why Bother Checking?

Certificates expire. Domains change. SAN entries get dropped during renewal. Knowing how to look at what's actually installed on your server saves you from those 3 AM outage alerts.

Method 1: Browser Developer Tools

The quickest way for a single site. Click the padlock icon in the address bar, then navigate to the certificate details. You'll see the issuer, validity period, and SAN list right there. Not great for automation, but perfect for a quick sanity check.

Method 2: OpenSSL s_client

This is the one I use most. From any terminal:

echo | openssl s_client -connect example.com:443 -servername example.com 2>/dev/null | openssl x509 -noout -dates -subject -issuer

It shows you exactly what the server presents, including the certificate chain. The -servername flag matters for virtual hosts — without it you might get the default certificate instead of the one you're asking about.

Method 3: curl -v

If you just need to verify the connection works and see the handshake, curl -vI https://example.com gives you the TLS info along with the response headers. Less detail than OpenSSL, but faster when you're already in the terminal.

Method 4: Online Decoders

Paste your certificate PEM into an online decoder and you get a clean breakdown of every field — extensions, key usage, transparency logs. I use this when I need to share certificate details with someone who doesn't want to read raw PEM output.

What to Look For

Don't just check the expiry date. Verify the SAN covers all your subdomains, confirm the issuer matches what you expect, and make sure the chain is complete (browsers are forgiving here, but some clients aren't).

Table of Contents

Information

  • Hits11
  • Published date2026/09/25
0/500
Share your thoughts respectfully.

More Posts

Explore more articles from this section
How to Decode an SSL Certificate Online
Aug 24, 202649views

How to Decode an SSL Certificate Online

Learn how to decode an SSL certificate online by pasting PEM text or uploading a certificate, then review the ...

#ssl certificate#certificate decoder#PEM#TLS
How to Read SSL Certificate Details: A Practical Guide to Subject, Issuer, CN, SAN, and Fingerprints
Aug 27, 202639views

How to Read SSL Certificate Details: A Practical Guide to Subject, Issuer, CN, SAN, and Fingerprints

Learn how to use SSL Certificate Decoder to inspect a public certificate and understand Subject, Issuer, Commo...

#SSL certificate#certificate details#Subject#Issuer
Online Certificate Decoder: Supported Formats and Certificate Details
Sep 20, 202631views

Online Certificate Decoder: Supported Formats and Certificate Details

A browser-based X.509 certificate decoder that parses PEM, CRT, CER, and DER files and shows issuer, subject, ...

#certificate decoder online#X.509#PEM#SSL certificate
How to Check an SSL Certificate Fingerprint
Sep 08, 202630views

How to Check an SSL Certificate Fingerprint

Learn how to use SSL Certificate Decoder to read SHA-256 and SHA-1 certificate fingerprints, copy a fingerprin...

#SSL certificate fingerprint#SHA-256 fingerprint#SHA-1 fingerprint#certificate fingerprint checker
How to Decode a PEM Certificate Online with SSL Certificate Decoder
Aug 30, 202630views

How to Decode a PEM Certificate Online with SSL Certificate Decoder

Learn how PEM boundary markers work and how to decode a public PEM certificate by pasting it or uploading a PE...

#pem certificate decoder#PEM certificate#BEGIN CERTIFICATE#END CERTIFICATE
How to Compare Two SSL Certificates
Sep 14, 202626views

How to Compare Two SSL Certificates

A practical guide to comparing two SSL/TLS certificates: subject and issuer, validity period, key strength, su...

#compare ssl certificates#ssl certificate comparison#openssl compare certificates#x509 compare
Feedback email