Web and SSL Certificates · #67
Online CSR Decoder
Checks the names and key inside a CSR before you send it to a provider.
- Data is processed in your browser and not sent to a server
Tool
What does this tool do?
A CSR with a wrong or missing SAN means reissuing a paid certificate and days of delay. The tool decodes the subject, requested SAN names and key, and points out common mistakes such as CN missing from SAN, weak keys, an invalid country code or internal names.
How to use it
- Paste the CSR starting with
-----BEGIN CERTIFICATE REQUEST-----. - Optionally enter a name the certificate must cover; press Run.
Fields
- CSR (PEM)
- Do not paste private keys; only the CSR is needed.
- Name to check
- Optional.
Worked example
| Input | Value |
|---|---|
| CSR (PEM) | |
| Name to check | vpn.example.com |
Expected result: CN portal.example.com, SAN portal.example.com and vpn.example.com, EC P-256, ecdsa-with-SHA256; vpn.example.com matches a SAN.
The CSR follows the rules and can be submitted. The sample CSR is a test request created for this page.
Second scenario
| Input | Value |
|---|---|
| CSR (PEM) | |
Expected result: RSA 2048 CSR for mail.example.com without SAN: public CAs add the CN to SAN, but internal CAs often do not and browsers then reject the certificate.
Method and assumptions
The PEM block is decoded from Base64 to DER; subject, SubjectPublicKeyInfo and SAN/EKU from the extensionRequest attribute of the PKCS#10 CertificationRequestInfo are read.
Using the result and troubleshooting
If SAN is missing or the key is weak, regenerate the CSR (OpenSSL: -addext "subjectAltName=DNS:…"). Verify the issued certificate with the PEM Certificate Decoder.
Limits and common mistakes
- The CSR signature (match with the private key) is not verified.
Frequently asked questions
Is it safe to share a CSR?
Yes, a CSR contains only the public key and requested names. Never share the private key (PRIVATE KEY).
Related tools and service
- PEM Certificate DecoderDecodes the PEM certificate you paste in your browser only; it does not connect to any server.
- Certificate Fingerprint and File HashCalculates hashes of a file, text or certificate on your device and compares them with an expected value.
Related service: Web Application Security and WAF