CSR decoder
Everything runs in your browser; nothing is sent or stored.
- Paste one request, including the BEGIN and END lines, into the "PEM certificate signing request (CSR)" field and click "Decode".
- In the "Request details" section, check the domain name in the CN field of the "Subject" row and the domains in the "Alternative names (SAN)" row.
- The "Public key" row shows the key type and size, and for an EC key it shows the curve, for example P-256.
- The "Request self-signature" row shows whether the signature is present and whether its structure matches the key type. The tool checks only the structure of the signature, without verifying it. The certificate authority (CA) verifies the signature before issuing the certificate.
- The Key Usage, Extended Key Usage, and CA certificate rows appear only when the request includes the matching extensions.
What is a CSR?
A certificate signing request (CSR) is a file that you send to the certificate authority when you order an SSL certificate. The request contains the public key, the domain names, and the subject details, and it is signed with the matching private key. The signature proves that whoever submits the request holds the private key. The private key is not included in the request, and you keep it on the server where the certificate will be installed.
Creating a CSR with OpenSSL
The command openssl req -new -newkey rsa:2048 -nodes -keyout example.com.key -out example.com.csr creates a new private key and a request signed with it, and prompts you to enter the subject details. For a request that covers several domains, add the option -addext "subjectAltName=DNS:example.com,DNS:www.example.com" to the command. The private key is saved in the file example.com.key, and the file example.com.csr is the request, which you paste into the decoder and send to the certificate authority.
Subject details and key type
In domain-validated (DV) certificates, which verify only control of the domain, the certificate authority includes the domain names and the public key in the certificate, and details from the request such as the organization name and the city do not appear in the certificate. In OV and EV certificates, the organization details in the certificate are based on the details that the certificate authority verified. Public certificate authorities issue certificates only for RSA keys of at least 2048 bits and for ECDSA keys, usually on the P-256 or P-384 curve. That is why a request with a shorter RSA key or with an Ed25519 key is rejected, even when the decoder displays it without an error.
Fields in the "Subject" row
CNCommon Name, the main domain name in the request, for example www.example.com.Othe organization name.OUa unit within the organization. Public certificate authorities no longer include this field in SSL certificates.Lthe city (Locality).STthe state, province, or region.Cthe two-letter country code under the ISO 3166 standard, for example IL or US.
CSR decoder FAQ
Does the decoder verify the request signature?
No. The decoder does not verify the signature cryptographically. It checks only the structure of the signature and whether it matches the key type. The certificate authority verifies the signature before issuing the certificate, and you can also verify it on your computer with the command openssl req -verify -noout -in example.com.csr.
How do I check that a certificate was issued from the request?
A certificate and the request it was issued from share the same public key. Compare the output of the command openssl req -noout -pubkey -in example.com.csr with the output of the command openssl x509 -noout -pubkey -in certificate.pem. When the two outputs are identical, the certificate matches the key in the request.
Why is the input not decoded when it contains a private key?
When the input contains the words PRIVATE KEY, none of the input is decoded, even if it also contains a signing request. The decoder is for CSRs only, so paste only the CERTIFICATE REQUEST block.
Can I use the same request to renew the certificate?
Yes. You can submit the same request again, but the new certificate then uses the same private key. We recommend creating a new private key and a new request at every renewal, to limit how long the same key stays in use.
Which request formats does the decoder accept?
The decoder accepts a request in PEM format, including the NEW CERTIFICATE REQUEST header that some tools generate, as well as the Base64 content of a request without the BEGIN and END lines. The field accepts one request of up to 16,384 characters.