DevTools Surf logoDevTools Surf
AI / Modern DevAnimation / CSSAPI / Config
Sign in
DevTools Surf logoDevTools Surf
AI / Modern DevAnimation / CSSAPI / Config
Sign in
HomeSecurity / CryptoCertificate Parser

Example: Certificate Parser

A worked example, rendered from real sample data. Sign in to run the tool on your own input.

Input
-----BEGIN CERTIFICATE-----
MIIENDCCAxygAwIBAgIUNKFGvhs6leVuesrh23es5qU4OTYwDQYJKoZIhvcNAQEL
BQAwfjELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcM
DVNhbiBGcmFuY2lzY28xFTATBgNVBAoMDEV4YW1wbGUgQ29ycDERMA8GA1UECwwI
UGxhdGZvcm0xGDAWBgNVBAMMD3d3dy5leGFtcGxlLmNvbTAeFw0yNjA5MjAwOTA0
MjZaFw0yODEyMjMwOTA0MjZaMH4xCzAJBgNVBAYTAlVTMRMwEQYDVQQIDApDYWxp
Zm9ybmlhMRYwFAYDVQQHDA1TYW4gRnJhbmNpc2NvMRUwEwYDVQQKDAxFeGFtcGxl
IENvcnAxETAPBgNVBAsMCFBsYXRmb3JtMRgwFgYDVQQDDA93d3cuZXhhbXBsZS5j
b20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDnJZeZSuGFwxhgpj2J
yUpxZmGCG/ZayZBtMePUiWEfo1RElOIBMiSJN6/6K49INEgZAKaRmHV65RRsfwb5
HW8uCiLEzpxABcBc1cr2mJt/U2zuzRMfTXRIyAFMribE1JYwfMz7396dgB5Vt4lR
MLC3Lq5lNCmRq8ooO8Ky36MsDISVnkVZo4ud/gVatShWfQ0gB1DNCip83J0Xi51u
J1EZLSGdKLJxip87dPyGaiiXc1ZLd0JjHNONOjcq/xsQHOECjtKwFbISm94caov2
aj3WV/YcAUUsy2ApnAYLnbLrj0fZG21JaTheSHzeUgr/kIpEJX8i3gjpjAk21utR
+l0LAgMBAAGjgakwgaYwHQYDVR0OBBYEFOXQF2X+ZDmdb8K54rKRBQTCfj7lMB8G
A1UdIwQYMBaAFOXQF2X+ZDmdb8K54rKRBQTCfj7lMCcGA1UdEQQgMB6CD3d3dy5l
eGFtcGxlLmNvbYILZXhhbXBsZS5jb20wDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQW
MBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMBAf8EAjAAMA0GCSqGSIb3DQEB
CwUAA4IBAQDL7GdWhtXv4IupY3i9QWtGfcADd0X2vBiIFeetnA8b7t8rE1B1VxIJ
5dX8O4TifCNGNCnZ0mjgY2v9xEMDUy5saITsrkUfoEIp9uu0a7xKAC7ThcMuC35u
/tfcQSVB7AB+x836MvzJy7bmKbMD4U7mSkLw8wCc1aEgl2j1zJExzT9Pc/e2W+GZ
sQF1X9zm0VSxZMTL8hoXTADUq59006RbI2OZYtt8GsWc1XPVbY1Nh6TUgrpnzc+n
46PxGSPL50k8WHzxaP82o8rXAa7pwPHJ16h5fiEooPD6QowPGo7xZHMdecyi70kw
euXVtUSP4ty4Ma7ZRKuZdMlfFeBNjQVT
-----END CERTIFICATE-----
Output
═══ Certificate ═══
Subject C: US
Subject ST: California
Subject L: San Francisco
Subject O: Example Corp
Subject OU: Platform
Subject CN: www.example.com
Issuer: C=US, ST=California, L=San Francisco, O=Example Corp, OU=Platform, CN=www.example.com
Serial: 34A146BE1B3A95E56E7ACAE1DB77ACE6A5383936
Role: end-entity (leaf)
Self-issued: yes

─── Validity ───
Not before: Sep 20 09:04:26 2026 GMT
Not after: Dec 23 09:04:26 2028 GMT
Lifespan: 825 days
✓ Valid for another 824 day(s).

─── Key and signature ───
Public key: RSA 2048-bit (e=65537)
Signature algorithm: sha256WithRSAEncryption
Subject alternative names: 2

─── Extensions (6) ───
subjectKeyIdentifier: E5:D0:17:65:FE:64:39:9D:6F:C2:B9:E2:B2:91:05:04:C2:7E:3E:E5
authorityKeyIdentifier: keyid:E5:D0:17:65:FE:64:39:9D:6F:C2:B9:E2:B2:91:05:04:C2:7E:3E:E5
subjectAltName: DNS:www.example.com, DNS:example.com
keyUsage [critical]: digitalSignature, keyEncipherment
extKeyUsage: serverAuth — TLS server, clientAuth — TLS client
basicConstraints [critical]: CA:FALSE — end-entity certificate, it cannot sign other certificates

─── Fingerprints and pins ───
SHA-256: 96:A6:9B:A4:9F:DB:C3:96:0E:08:BC:EE:F6:4F:82:24:47:00:24:92:CB:A5:76:02:A7:CD:3B:A4:79:EA:ED:C2
SHA-1: 2D:06:35:27:F0:F8:54:EB:4A:D6:FD:8C:62:84:19:AE:6B:92:C3:21
SPKI pin (sha256/base64): DbgFE6qJHXAul54oNnv24N9ksZV3uNFzPnLtpDiWQ34=
DANE TLSA 3 1 1: 0db80513aa891d702e979e28367bf6e0df64b19577b8d1733e72eda43896437e

─── Findings ───
✗ A 825-day lifespan exceeds the 398-day maximum browsers accept for TLS server certificates issued after September 2020.
⚠ Self-signed end-entit
…

About Certificate Parser

Certificate Parser preview - Security / Crypto tool

Break an X.509 certificate into every extension and test whether it really serves a hostname. Part of the DevTools Surf developer suite. Browse more tools in the Security / Crypto collection.

Use Cases

  • Debug which domains a TLS certificate covers via SAN inspection
  • Verify certificate metadata before deploying to a web server
  • Check key size and signature algorithm for security compliance
  • Confirm validity period before scheduling automated renewal

Tips

  • Paste the full PEM block including BEGIN/END headers — the parser extracts subject, issuer, validity dates, SANs, key size, and signature algorithm
  • The Subject Alternative Names (SAN) section shows all domains the certificate is valid for — check this when debugging wildcard certificate coverage
  • The key usage extension defines what the certificate can be used for (signing, encryption, CA) — mismatches here cause subtle TLS handshake failures

Fun Facts

  • X.509 certificates were first specified in 1988 as part of the ITU-T X.500 directory standard. The modern form used for TLS is X.509 v3 (1996), which added Subject Alternative Names — the extension that allows a single certificate to cover multiple domains.
  • The PEM (Privacy Enhanced Mail) format — the base64 armor with BEGIN/END headers — was defined in RFC 1421 (1993) for securing email. Despite email encryption never taking off, PEM became the universal format for storing certificate and key files.
  • The longest valid TLS certificate ever issued was 5 years. As of September 2020, Apple's browser policy limited TLS certificate validity to 398 days (about 13 months), forcing annual certificate rotation across the industry.

FAQ

What is the difference between a certificate and a key?
A certificate is a public document containing the server's public key, identity information, and a CA's digital signature. The private key is the secret counterpart — it is never in the certificate and must be protected separately.
What does 'common name' mean in a certificate?
The Common Name (CN) field originally held the domain name the certificate was valid for. Modern browsers now use Subject Alternative Names (SANs) for domain validation and may ignore CN for this purpose. Both are usually present for backwards compatibility.
What is a wildcard certificate?
A wildcard certificate covers a domain and all of its subdomains at one level: *.example.com covers api.example.com and www.example.com but not sub.api.example.com. They are cheaper than multi-domain SAN certificates but less flexible.

Related Security / Crypto Tools

Hash Generator v2HMAC Generator v2JWT EncoderBcrypt Hash TesterHMAC GeneratorPassword Strength AnalyzerTOTP / 2FA GeneratorSAML Response Decoder
New · Flagshipsimple REST client

REST Handler — Collections, env vars, history, cURL converter

Send requests, save collections (nested), swap environments, and convert between cURL / Collection JSON / REST Handler YAML.

Open

Popular tools

The most-used tools on DevToolsSurf, one click away.

Encoding & crypto

  • Base64 Encode
  • Base64 Decode
  • URL Encoder
  • URL Decoder
  • Hash Generator
  • JWT Decoder
  • JWT Encoder
  • UUID Generator
  • ULID Generator
  • Password Generator
  • Bcrypt Hash Tester

Converters

  • CSV to JSON
  • JSON to CSV
  • XML to JSON
  • JSON to XML
  • HTML → Markdown
  • HTML → React JSX
  • cURL to Code
  • Collection JSON → cURL
  • Swagger to Collection JSON
  • JSON → Go Struct
  • JSON → TypeScript Types

JSON & YAML

  • JSON Formatter
  • JSON Validator
  • JSON Viewer
  • JSON Minifier
  • JSON Diff
  • JSONPath Tester
  • YAML Formatter
  • YAML to JSON
  • JSON to YAML

Text & regex

  • Regex Tester
  • Text Diff
  • Case Converter
  • Word Counter
  • Markdown Preview
  • Slug Generator
  • Lorem Ipsum Generator
  • Markdown → PDF

CSS & color

  • CSS Beautifier
  • Minify CSS
  • Color Converter
  • Gradient Generator
  • Contrast Checker
  • Color Palette Generator
  • Flexbox Playground
  • Tailwind → CSS

Generators

  • QR Code Generator
  • Mock Data Generator
  • Favicon Generator
  • .gitignore Builder
  • README.md Generator
  • Dockerfile Generator
  • Sitemap Generator

API & networking

  • REST Handler
  • HTTP Header Analyzer
  • IP Address Lookup
  • CIDR Calculator
  • User-Agent Parser
  • HTTP Status Reference
  • OpenAPI Viewer

Date & time

  • Timestamp Converter
  • Timezone Converter
  • Cron Expression Parser
  • Duration Calculator
  • Age Calculator
  • Date Format Converter

Images

  • Image Converter
  • Image Resizer (Batch)
  • SVG Optimizer
  • Base64 ↔ Image
  • WebP ↔ AVIF Converter
  • Image Compressor

PDF tools

  • PDF Merger
  • PDF Splitter
  • PDF Compressor
  • Markdown → PDF
  • EPUB → PDF
  • MOBI / AZW → PDF
  • DOCX → PDF
  • HTML → PDF

Resources

  • Community feed
  • Themes marketplace
  • Pricing & credits
  • Privacy policy
  • Terms of service
  • Sitemap
  • robots.txt

Your account

  • Sign in
  • Dashboard
  • Run history
  • My profile
  • Settings
DevTools Surf logo
DevTools Surf919+ tools

Fast · privacy-first · client-side · © 2026

Home·Feed·ThemesPricing·Sign inPrivacy·Sitemap Feedback