SSL Clock

Free SSL tools

Decode a certificate signing request

Paste a PEM certificate signing request and read the subject fields, names, public key, and signature algorithm. A private key is refused.

Paste the request block only. A private key is refused and is not shown.

Start monitoring free

What a certificate signing request contains

A certificate signing request is the file you send to a certificate authority, or to an ACME client that talks to one. It is a PEM block that starts with BEGIN CERTIFICATE REQUEST or BEGIN NEW CERTIFICATE REQUEST. Inside it is the subject you asked for, the public key that will sit in the certificate, optional extensions such as subject alternative names, and a signature made with the matching private key.

The private key is not in a normal request, and this decoder rejects a paste that includes a private key block. If your shell history created both files, paste only the request. Leave the key where the server will use it later.

Decoding does not submit the request anywhere. It does not contact a certificate authority. It prints the fields so you can see a mistake before you pay for a certificate or before an automated renewal locks in the wrong names.

Subject fields

The subject is a list of named attributes. CN is the common name. O is the organization. OU is the organizational unit. C is the country. ST is the state or province. L is the locality. emailAddress is an email on the subject, which public TLS certificates rarely need.

For a website, the common name is usually the primary hostname. Some tools still copy it from an old intranet name. Read it out loud against the name clients type. If the common name is a private name and the public names are only in an extension, confirm the extension is actually present. A common name alone is not a substitute for the name list.

Organization fields matter more for some validation types than for domain validated certificates. If you asked for a company name on the certificate and the request has no O, the certificate will not grow that field later. Fix the request and generate it again from the same key if you want to keep the key, or from a new key if you are rotating.

Names on the request

Subject alternative names are an extension inside the request, not a line in the subject. The decoder lists DNS names and email names when that extension is present. An empty list means the request did not ask for those names. A certificate authority copies the names that are already in the request.

Include every public hostname the certificate must cover. Add the bare domain and www when both are in DNS. Add the API host if it will use this same file. A wildcard belongs in the name list as *.example.com, and you still add example.com separately if the apex should match.

If a name is wrong, do not edit the PEM by hand. The signature would no longer match. Create a new request with the corrected names. If the certificate is already issued, you need a new certificate, not a repaired request. The old certificate keeps the names it was signed with until it expires or you stop serving it.

Public key and signature

The key type and size describe the public key embedded in the request. RSA 2048 and ECDSA on prime256v1 are the sizes most public authorities accept. A smaller RSA key is a reason to stop and generate a new key. The decoder prints the size so you can see that before the authority rejects the request or, worse, issues a certificate you should not deploy.

The signature algorithm is how the request was signed with the private key. It is not the algorithm the authority will use on the final certificate. Those are different signatures. A request signed with SHA-256 is the normal case. If you cannot read a signature algorithm at all, the PEM is incomplete.

The public key in the request must be the partner of the private key you will install. If someone generates a fresh key and then submits an older request, the certificate that comes back will not match the key on disk. Keep the request next to the key that created it until the certificate is installed.

Common errors and the fix

The paste is a certificate, not a request. The header says BEGIN CERTIFICATE. Use the certificate decoder for that file. A request is what you send before issuance. A certificate is what you get back.

The paste includes a private key. Remove that block. If the key was exposed in a ticket or a chat, rotate it. Replace a key that has been copied into a shared document.

The subject is empty or only has attributes you do not recognize. Some appliances write the hostname only into the name extension and leave a placeholder subject. Confirm the DNS names are the ones you will serve. If they are missing, recreate the request with an explicit name list.

The names are a subset of production. This is the expensive mistake. The certificate arrives, you install it, and the bare domain fails. Compare the decoded name list with DNS and with the virtual hosts before you approve the request. Add the missing names and submit a new request.

The key type is not what the server expects. A Windows service and a modern TLS stack can disagree about which curves they support. If the platform documents RSA only, do not submit an EC request and hope the import works. Generate the key type the server can load.

The file is cut off. Requests are shorter than certificate chains, but a ticket form can still clip the ending line. The last line must be END CERTIFICATE REQUEST or END NEW CERTIFICATE REQUEST. Paste from the original file.

After the certificate comes back

When the authority returns a certificate, decode that PEM and confirm the names and dates match what you submitted. Then install the certificate and the chain on the public listener. A request cannot be monitored, because nothing on the internet is serving it yet. Monitoring starts when a public hostname presents the issued certificate. Free monitoring covers 3 hostnames and sends reminders before the not after date. The request you pasted here is not stored and is not turned into a monitor by itself.

After the authority returns a file, use the certificate decoder. To see what a hostname sends, use the certificate chain checker. The hub is free SSL tools.

FAQ

Does a CSR include my private key?

No. A certificate signing request carries the subject and the public key. The private key stays on the machine that created the request. Do not paste a key file here.

Why are the subject alternative names empty?

The names have to be inside the request as an extension. A subject common name alone does not add DNS names. Recreate the request with the names you need, then paste it again.

Will decoding a CSR order a certificate?

No. This reads the request you already have. The certificate authority still has to sign it. After the certificate is issued, decode that file or check the hostname that serves it.

Is the pasted request stored?

No. The request is parsed for this response and is not saved as a monitor or a file.