SSL Toolkit Logo

Certificate Fingerprint Generator

Generate fingerprints for SSL certificates in multiple algorithms

About Certificate Fingerprints

A certificate fingerprint is a hash of a digital certificate used to uniquely identify it across different hash algorithms like MD5, SHA-1, and SHA-256. Fingerprints are critical for certificate pinning, verifying certificate authenticity, and detecting certificate changes or misissuance. Our Certificate Fingerprint Generator fetches a server's certificate and computes its fingerprint in all major hash formats for easy comparison and verification.

How to Use

  1. Enter the domain name of the server whose certificate you want to fingerprint.
  2. Click Generate to fetch the certificate and compute fingerprints.
  3. Review the fingerprint values for MD5, SHA-1, SHA-256, SHA-384, and SHA-512.
  4. Compare the generated fingerprints against known values for certificate verification.

Use Cases

  • Certificate Pinning: Obtain SHA-256 fingerprints for use in HPKP or app pinning configurations.
  • Certificate Verification: Compare fingerprints to detect man-in-the-middle attacks or certificate substitution.
  • Monitoring: Track certificate fingerprint changes over time to detect unauthorized certificate rotations.
  • Compliance: Record certificate fingerprints for audit trails and compliance documentation.

Frequently Asked Questions

SHA-1 produces a 160-bit (20-byte) hash while SHA-256 produces a 256-bit (32-byte) hash. SHA-1 is considered cryptographically weak and should not be relied upon for security-critical verification. SHA-256 is the current recommended standard for certificate fingerprinting.
A fingerprint is a short, fixed-size hash derived from the certificate's public key or the entire certificate. It acts as a unique identifier, similar to a human fingerprint, without revealing the full certificate contents. Fingerprints are easier to compare and store than full certificates.
SHA-256 is the recommended algorithm for certificate pinning. It offers a good balance of security and performance. SHA-384 and SHA-512 provide even stronger security but produce larger fingerprints. Avoid MD5 and SHA-1 for security-critical pinning as they are deprecated.
SHA-256. Pinning is a security decision and MD5 and SHA-1 are both broken for that purpose, even though they remain useful for matching fingerprints recorded in older documentation and configuration. If you are pinning, pin SHA-256 or stronger, and pin more than one algorithm so a future deprecation of the one you chose does not brick every connection at once.
It does not, automatically. Pinning a single certificate means the next renewal breaks the connection until you update the pin — that is the intended behaviour and also the operational cost. The practical patterns are pinning an intermediate so only your leaf changes, pinning a backup key held in reserve, or pinning a public key rather than a whole certificate so reissuance under the same key keeps working.
Because the certificate is one of many possible for a name, and renewal, a different authority, or a different product tier all produce different bytes. That is exactly why a fingerprint identifies a specific certificate rather than a site. When comparing, be clear whether you are confirming the same certificate is being served now, or the same site across a renewal.
Usually it means a legitimate change: a renewal, a CDN switch, or a redirect to a different host. Investigate before concluding otherwise, by checking the certificate's subject, issuer and validity dates and asking whether a change was made. A genuine interception usually presents a certificate from an unfamiliar authority rather than a plausible one from the expected issuer.
Yes, and for an offline file the key-checksum page on this site will hash it in the same colon-separated form, so the two are directly comparable. Offline computation is the more reliable method for anything involving sensitive material, since it needs no network access and no third party. Use it whenever you are checking a certificate you hold rather than one being served.

How Fingerprints Are Produced

A fingerprint is a hash of the certificate, written in a form designed to be read aloud or compared by eye. This page retrieves the live certificate and computes five of them.

  1. 1Retrieve the certificate exactly as served. If nothing is returned the result says so explicitly rather than hashing an empty input, which would produce a plausible-looking but meaningless fingerprint.
  2. 2Hash the DER encoding with MD5, SHA-1, SHA-256, SHA-384 and SHA-512. Hashing the encoding rather than the PEM text means formatting differences cannot change the result, so fingerprints are directly comparable across tools.
  3. 3Format as colon-separated uppercase hex, which is the convention that makes an eight-character group easy to read or dictate. Alongside them the subject and issuer common names and the serial number identify which certificate was hashed.

MD5 and SHA-1 appear here for matching against existing configurations and old documentation — not because they are fit for security decisions. Where a fingerprint is used as a trust anchor, use SHA-256 or stronger.

Tips & Best Practices

  • •Store certificate fingerprints securely for later verification
  • •Compare fingerprints across multiple sources to detect tampering
  • •Use SHA-256 fingerprints for maximum security
  • •Verify fingerprints after certificate deployment to confirm correct installation

Technical Details

Algorithms: SHA-256, SHA-1, and MD5 fingerprint calculation
Format: Hex-encoded fingerprint strings
Verification: Compare against expected fingerprint values
Use: Certificate pinning and tamper detection