CSR Decoder

Paste a certificate signing request (CSR) and see the names and key it asks a certificate for, before you send it anywhere.

FluffyShield Protected workspace
FluffyShield

Isolated workspace: other page scripts can't read your files. How FluffyShield works

Free · No upload · No sign-up · No usage quotas

What are you asking for in this CSR?

Check the names before you send it off. They're the ones the certificate is being asked to cover.

What the decoder reads out
  1. Who is asking
  2. Which website names
  3. What kind of key goes on the certificate

What it does

DER requests too

A request saved as a binary file opens with Choose file.

Key size for RSA

An RSA key's size is shown in bits, so you can see how big a key you're asking about.

Old label accepted

Requests headed NEW CERTIFICATE REQUEST open like any other.

Limits Pasted text, or a PEM or DER file of up to 16 MiB.

The form you send before you get a certificate

Your web host, or the company selling you a certificate, has asked for a CSR. Or someone on your team has made one and asked you to send it on. CSR is short for certificate signing request, and the request is a block of text that starts with BEGIN CERTIFICATE REQUEST.

It works like a passport application. You fill in the details you'd like on the passport, attach your photo, and sign the form. The passport office checks it and issues the real thing; the form on its own lets you go nowhere.

In a CSR the details are names, the photo is your public key, and the signature is made with your private key. The certificate company plays the passport office.

Reading the request before it goes

Reading it here sends it nowhere. The box at the top of this page, FluffyBench's Certificate and public key inspector set to signing requests, only shows you what's inside.

  1. Paste the whole request into the Signing request (CSR) box.

  2. Read the Subject and Subject alternative names rows under What's inside. Those are the names you're asking for.

    The decoded sample request: Subject, the key and signature algorithms, the two DNS names asked for and the key usage.
    The decoded sample request: Subject, the key and signature algorithms, the two DNS names asked for and the key usage.
  3. Press Copy all if you'd like the report as text to keep.

The two rows worth reading twice

Subject says who is asking. The sample's reads O=FluffyBench Example, CN=sample.example. O is the organisation, and CN, the common name, is where a website's name used to go.

Subject alternative names is the list that counts now. The current rules for checking a website's certificate look only at this list, not at CN, so a name missing here is a name you haven't asked for. The sample asks for two, sample.example and www.sample.example.

Read them letter by letter. A request for the www name alone doesn't cover the bare one, or the other way round, and a typo in a name is a request for somebody else's website.

Why a request is safe to send

Making a request makes two things at once: the request, and a private key that stays on the computer where it was made. The request carries only the public half of the key, plus a signature made with the private half. That signature shows the sender holds the private key without giving any of it away.

If what you paste has a private key block in it as well, it stops at once with "That’s a private key" and this: "Private keys aren’t accepted. Paste only a certificate, a signing request or a public key, and keep the private key secret." The request is the part whose first line says CERTIFICATE REQUEST; the private key stays where it is.

What the decoder can't tell you

It reads the request and judges nothing. The signature isn't checked, and nothing in the report says who made the request; the report opens with "Contents only: the CSR signature and requester identity are not verified." Whether a certificate is issued, and for which names, is up to the certificate company.

A public key or a certificate pasted instead of a request gets "Provide a PKCS#10 CERTIFICATE REQUEST PEM block or DER request file."

The certificate has come back and you want to check it

Certificate and public key inspector

Its Certificate tab shows the names the certificate actually covers and the dates it runs between.

Whoever wants the request asks for a binary file

PEM to DER Converter

It saves the same request as a .der file.

Search FluffyBench