ssl-guides 2026-12-02 ⏱ 4 min read

What Is a Certificate Serial Number?

What Is a Certificate Serial Number?

Every certificate has a serial number. It is a positive integer the issuing CA assigns, and it must be unique among all certificates that CA has issued. Together, the issuer name and the serial number identify one certificate without ambiguity.

Why a certificate serial number exists

The main practical use is revocation. When a CA needs to cancel a certificate before it expires, it cannot point to a domain name, because the same domain may have several valid certificates. It lists the serial number instead. Both the Certificate Revocation List and OCSP responses work this way, as described in what a CRL is and what OCSP stapling is. Let's Encrypt turned off its OCSP responders on 6 August 2025 and now relies on CRLs (Let's Encrypt OCSP announcement).

It also helps humans. Support teams, logs and audit tools can quote a serial number to refer to exactly one certificate.

How to read a certificate serial number

openssl x509 -in cert.pem -noout -serial

The output looks like serial=04A1B2..., written in hexadecimal. For a live site:

echo | openssl s_client -connect example.com:443 \
  -servername example.com \
  | openssl x509 -noout -serial -issuer

Always read the serial together with the issuer. Two different CAs can, in theory, use the same number, so the number alone is not a global ID.

Rules CAs must follow

The CA/Browser Forum Baseline Requirements say serial numbers must be non-sequential and contain at least 64 bits of output from a cryptographically secure random generator. The reason is security: predictable serials make some collision attacks against hash functions easier. Sequential serials, which older CAs used, are no longer allowed for publicly trusted certificates. The rule came from CA/Browser Forum Ballot 164, which a Let's Encrypt engineer proposed.

FieldChosen byChanges on renewal?Main purpose
Serial numberThe CAYesIdentify the certificate within one issuer, used by revocation
FingerprintCalculated by the viewerYesHash of the full certificate
Public keyYouOnly if you rotate the keyProve server identity
Subject Alternative NameYouNoList protected domain names

The comparison with the hash value is explained further in what a certificate fingerprint is.

Does a certificate serial number change on renewal?

Yes. A renewed certificate is a new certificate, even with the same domains and the same key, so it gets a new serial number. If a tool stores an old serial number, it will report a mismatch after each renewal. Store the domain and issuer for monitoring, and treat the serial as a short-lived detail.

Using the serial number in practice

  • Revocation checks: look the serial up in the CA's CRL to see if a certificate was revoked.
  • Incident response: after a key leak, record the serial of each affected certificate before you revoke it.
  • Certificate Transparency search: log search tools let you find a certificate by serial. Try the certificate transparency lookup.
  • Self-signed certificates: give each one a unique serial. Reusing serial 1 for different certificates causes confusing browser errors, notably in Firefox.

Reading a serial in a browser

Every major browser shows the serial number in its certificate viewer. In Chrome, click the padlock, open the connection details, choose the certificate view and look under Details. Firefox and Safari have a similar panel. The value is shown as hex bytes. Copy it exactly if you need to give it to a CA support team.

Common mistakes

  • Comparing serial numbers across different issuers and calling them duplicates.
  • Storing the serial as a decimal number in one tool and hex in another, then failing to match them.
  • Dropping leading zeros. A serial printed as 04A1 and as 4A1 is the same number.

For quick lookups, use the certificate decoder and see how to test SSL configuration with OpenSSL for more command line checks.

In short, treat the serial number as the CA's label for one certificate. You rarely need it, but when you do, you need it exactly right, together with the issuer name.

Frequently Asked Questions

Can I choose my own certificate serial number?

Not for a public certificate. The CA decides. For your own internal CA you can set it, but use random values.

Is a certificate serial number secret?

No. It is public, visible in every certificate and every Certificate Transparency log entry.

Does a certificate serial number change on renewal?

Yes. A renewed certificate is a new certificate, so it gets a new serial number, even with the same domains and key.

How do I read a certificate serial number?

Run openssl x509 -in cert.pem -noout -serial. The value is hexadecimal. Read it together with the issuer.

🔒 Test Your Website SSL Certificate Now
Run Free SSL Check →

✅ Post-Installation Verification & SEO Checklist

After applying the steps above, run through this 5-point checklist to prevent browser warnings and protect your Google SEO rankings:

  • Verify full CA chain trust and TLS 1.3 support using our Live SSL Checker.
  • Scan for Mixed Content HTTP links and check HSTS/CSP headers on Security Headers Checker.
  • Enforce a permanent 301 HTTP-to-HTTPS redirect with our HTTPS Redirect Generator.
  • Confirm both root and www versions resolve cleanly to one canonical HTTPS URL.
  • Verify your HTTPS property and sitemap.xml inside Google Search Console and Bing Webmaster Tools.
Technically Reviewed by TryFreeSSL Security Team
Last updated: 2026-12-05
About Us →

Free SSL Certificates, Live SSL Checker & CSR Generator

Issue trusted Let's Encrypt SSL certificates in 60 seconds with zero server setup.

Related Articles

🤖 TryFreeSSL AI Assistant