CSR Decoder

Decode a PKCS#10 CSR in your browser: Subject, public key, requested SANs, and a self-signature check that catches errors before the CA does. No upload.

  • Runs in your browser
  • Tool input is not uploaded to ZeroTool servers
  • Free · No Sign-Up
Include the BEGIN and END lines of a PEM certificate signing request. The first request is shown when several are pasted. DER binary, certificates and private keys are rejected.
Press Decode or Ctrl/⌘+Enter to parse the request and verify its self-signature. Loading the example fills the input; press Decode afterwards. Typing alone does not decode.
Results Start with the pre-submission checks, then inspect the Subject and requested SANs. Copy buttons export individual values. challengePassword is reported as present without showing its value; unsupported signature algorithms are reported separately from invalid signatures.

Paste a PEM request or load the example, then press Decode to inspect it.

Read the full guide Why CAs Reject Your CSR — and How to Catch It First
Examples, details and FAQ Worked examples, how it compares with other tools, and answers to common questions.

What the pre-submission checks look for

CheckWhy a CA cares
Self-signatureProof of possession. A request whose signature does not verify has been damaged in transit or was assembled from mismatched parts.
Key strengthThe CA/Browser Forum Baseline Requirements set the floor at RSA 2048 or a 256-bit elliptic curve. Anything smaller is refused outright.
Signature hashSHA-1 was withdrawn from public issuance in 2016. A request signed with SHA-1 or MD5 is dead on arrival.
subjectAltNameA certificate without SAN entries protects nothing, because browsers stopped reading Common Name for hostname matching.
CN covered by SANA Common Name that is not repeated in the SAN list produces a certificate that does not cover the very hostname you named.
Wildcard placementA wildcard is only valid as the whole leftmost label. *.example.com is fine; api.*.example.com and w*.example.com are not.
Publicly resolvable namesInternal suffixes such as .local and .internal, bare single-label hostnames, and private IP ranges cannot appear in a publicly trusted certificate.

What a CSR contains

A PKCS#10 request is three things wrapped in DER: the information being requested, the algorithm that signed it, and the signature itself. The information block holds the Subject distinguished name, the public key, and an optional attribute set. Almost everything interesting lives in that attribute set, because the extensionRequest attribute is where the SAN list, the key usage flags, and the extended key usage flags are carried.

What a CSR does not contain is the private key. Nothing in the request can be used to impersonate you, which is why sending one to a CA over ordinary channels is safe. The one exception is challengePassword, a shared secret some CAs use to authorise later revocation — this decoder reports whether that attribute is present and deliberately never prints its value.

How the signature verification works

The decoder slices the exact CertificationRequestInfo byte range out of the DER, imports the embedded SubjectPublicKeyInfo through crypto.subtle.importKey, and calls crypto.subtle.verify with the algorithm named in the request. RSA PKCS#1 v1.5, RSA-PSS, and ECDSA over P-256, P-384, and P-521 are all verified this way; ECDSA signatures are converted from their DER SEQUENCE{r,s} form to the fixed-width layout Web Crypto expects.

Ed25519 and Ed448 are attempted the same way and depend on the browser exposing them to Web Crypto. When a browser refuses the import, the check reports that it could not verify rather than claiming the signature is bad — an unsupported algorithm and a broken signature are different problems, and only one of them should worry you. Verify those locally with openssl req -in req.pem -verify -noout.

The SPKI pin

Alongside the request fingerprints, the tool prints a sha256/… pin computed over the SubjectPublicKeyInfo, the RFC 7469 form used by public key pinning configurations. Because that value depends only on the key, it stays identical across every certificate ever issued for this key pair. Compare it against openssl x509 -in cert.pem -pubkey -noout | openssl pkey -pubin -outform der | openssl dgst -sha256 -binary | base64 to confirm that a certificate you received back really was issued from this request.

Scope

This tool reads PEM PKCS#10 requests and nothing else. It does not generate requests, does not read or accept private keys, and does not fetch anything over the network — the checks it runs are the ones that can be decided from the bytes in front of it. Chain validation, CT log inspection, and issuance policy are the CA's job, and the local equivalent is openssl req -in req.pem -noout -text.

FAQ

Is my CSR uploaded anywhere?

No. The ASN.1 parsing, the hashing and the signature check run in the page with inline JavaScript and the browser's Web Crypto API, and the page sends no request that contains the CSR. The tool does not save it, and stored values for this tool are deleted each time the page loads. Because a CSR can carry a challengePassword and lists hostnames that are not public before issuance, the page loads neither Google Analytics nor AdSense.

What does the self-signature check actually prove?

A PKCS#10 request is signed with the private key that matches the public key inside it. Verifying that signature proves the two halves belong together and that no byte of the request has changed since it was created. It is the same proof of possession a CA performs on receipt, so a failure here means the CA will fail too — usually because the PEM was truncated, line-wrapped by an email client, or edited by hand.

Why did my CA reject a CSR that looks fine?

The four common reasons are all checked here: an RSA key under 2048 bits, a SHA-1 signature, no subjectAltName at all, and a Common Name that is not repeated as a SAN entry. Browsers have matched hostnames on SAN alone for years, so a CSR whose only hostname lives in the CN produces a certificate that no browser accepts.

Which input formats work?

PEM only — both -----BEGIN CERTIFICATE REQUEST----- and the -----BEGIN NEW CERTIFICATE REQUEST----- form written by Windows certreq. DER binary is not read directly; convert it first with openssl req -inform DER -in req.der -out req.pem.

Can this tool create a CSR for me?

No, and it should not. Generating a CSR means generating a private key, and a private key produced by a web page is a private key that page could have kept. Create it locally with openssl req -new -newkey rsa:2048 -nodes -keyout key.pem -out req.pem, then paste the resulting request here to check it.