InfraBench / system / tls-cert-decoder

X.509 / PEM TLS Certificate Decoder

Inspect Subject, Issuer, expiration days, SANs (DNS/IP), key type & SHA-256 fingerprint · RAM only, never transmitted

Actions: 100% browser-local ASN.1 DER parser + Web Crypto SHA-256
Fetch a Live Server Certificate via OpenSSL (CLI Tip)
bash · fetch leaf PEM from any TLS host
echo | openssl s_client -servername example.com -connect example.com:443 2>/dev/null | openssl x509

TLS / X.509 Certificate Inspection Guide

Modern browsers and HTTP clients validate hostnames strictly against the Subject Alternative Name (SAN) extension (OID 2.5.29.17) rather than the legacy Common Name (CN). Inspecting SANs, key algorithms, and expiry dates locally helps diagnose TLS handshake errors, reverse-proxy certificate mismatches, and renewal failures without uploading internal PKI certificates to third-party web servers.

Key Fields to Verify During TLS Troubleshooting

  • SAN Coverage: Ensure every apex domain, wildcard (*.example.com), or internal IP used by clients appears in the SAN list. Note that a wildcard only matches one subdomain label.
  • ECDSA vs. RSA Keys: Modern ACME issuers (Let's Encrypt, Google Trust Services) increasingly issue ECDSA P-256 certificates by default, yielding smaller handshakes and faster signing than RSA 2048-bit.
  • SHA-256 Fingerprint Pinning: Compare the computed SHA-256 digest directly against openssl x509 -noout -fingerprint -sha256 when verifying internal CA roots or load-balancer uploads.

Frequently Asked Questions

Should I ever paste a private key into a web decoder?

Never paste a -----BEGIN PRIVATE KEY----- block into any browser tool. Only paste public certificates (-----BEGIN CERTIFICATE-----). Even though this tool executes 100% locally in browser RAM with zero network calls, keeping private keys strictly inside your host/KMS is essential operational hygiene.