ssl-guides 2026-12-02 ⏱ 4 min read

What Is a Certificate Signing Request (CSR)?

What Is a Certificate Signing Request (CSR)?

A certificate signing request, or CSR, is a block of encoded text you send to a certificate authority when you want a certificate. It holds your public key and the identity details you want in the certificate, and it is signed with your private key to prove you own that key pair.

What is inside a certificate signing request

  • Public key: the key the CA will put in your certificate.
  • Common Name and SAN entries: the domain names to protect. Browsers rely on the SAN list, so include every name.
  • Organization fields: country, state, city and company name. Domain-validated CAs often ignore these.
  • Signature: proof that the requester holds the private key.

The CSR never contains the private key. It is safe to send over email or paste into a web form.

Create a CSR with OpenSSL

This command makes a new 2048-bit RSA key and a CSR in one step. It is a common starting point and works with most CAs:

openssl req -new -newkey rsa:2048 -nodes \
  -keyout example.com.key -out example.com.csr \
  -subj "/CN=example.com" \
  -addext "subjectAltName=DNS:example.com,DNS:www.example.com"

The -addext option needs OpenSSL 1.1.1 or newer. If you prefer an elliptic curve key, create it first with genpkey and pass it to req with -key. The full walkthrough is in generating a private key and CSR, and there is a browser tool at the free CSR generator.

Check what you created

Always inspect a CSR before you submit it. A wrong domain wastes an issuance and can cost money on paid products.

openssl req -in example.com.csr -noout -text -verify

Look for the right names under Subject Alternative Name and the line "verify OK". You can also paste the file into the CSR decoder.

What happens after you submit it

  1. The CA reads the CSR and extracts the public key and names.
  2. It validates that you control each domain, usually by a DNS record or an HTTP file.
  3. It signs a certificate and returns it to you.
  4. You install the certificate next to the private key that made the CSR.

If you install the certificate with a different private key, the server will refuse to start or fail the handshake. The matching check in verifying your key pair shows how to confirm the pair.

Do you always need one?

Not always. ACME clients such as Certbot and acme.sh build the CSR for you and renew automatically, so most people using Let's Encrypt never touch one. You need to make a CSR by hand mainly for paid certificates, hardware appliances, Windows IIS workflows and some control panels.

Common certificate signing request problems

ProblemCauseFix
CA rejects the requestKey too small or weakUse RSA 2048 or larger, or an ECDSA P-256 key
Certificate does not match keyCSR made on another machineReissue using the CSR from the server that holds the key
Missing www nameOnly the Common Name was setAdd SAN entries and generate again

Keep the private key file safe. If you lose it, the certificate is useless and you must create a new CSR and reissue.

Short checklist before you submit

  • The private key is saved with strict permissions, for example readable only by root.
  • Every hostname you need is in the SAN list, including www.
  • The key size or curve meets the CA's minimum.
  • You know where the CA's reply will be installed.

Also decide on renewal now. Each renewal can reuse the same key or make a new one. A new key on each renewal is cleaner security practice, but it means a new CSR each time unless an ACME client does it for you.

If you use Let's Encrypt, see getting a free certificate with Certbot for the automated route that skips manual CSR work.

One last tip: name your files clearly, such as the domain plus the year. After a few renewals, folders full of files called cert.pem and new.key cause the wrong pair to be installed.

Related reading: TLS-ALPN-01 validation and DNS-01 validation.

Frequently Asked Questions

Does a CSR contain my private key?

No. It carries the public key and a signature made with the private key. Sending it over email or pasting it into a form is safe.

Can I reuse a CSR for renewal?

Yes, if you keep the same key. A new key needs a new CSR, and a new key at each renewal is better practice.

Why does my certificate not match my key?

The CSR was made on another machine, or a different key was installed with the certificate. Compare the public keys of both files.

Do I need a CSR for a Let's Encrypt certificate?

Not by hand. ACME clients such as Certbot build the CSR and the key for you.

Which key type should the CSR use?

RSA 2048 or larger, or an ECDSA P-256 key. Check the CA's current minimum before you generate one.

🗝️ Generate a 2048-bit CSR & Private Key Online
Generate CSR →

✅ Post-Installation Verification & SEO Checklist

After applying the steps above, run through this 5-point checklist to prevent browser warnings and protect your Google SEO rankings:

  • Verify full CA chain trust and TLS 1.3 support using our Live SSL Checker.
  • Scan for Mixed Content HTTP links and check HSTS/CSP headers on Security Headers Checker.
  • Enforce a permanent 301 HTTP-to-HTTPS redirect with our HTTPS Redirect Generator.
  • Confirm both root and www versions resolve cleanly to one canonical HTTPS URL.
  • Verify your HTTPS property and sitemap.xml inside Google Search Console and Bing Webmaster Tools.
Technically Reviewed by TryFreeSSL Security Team
Last updated: 2026-12-05
About Us →

Free SSL Certificates, Live SSL Checker & CSR Generator

Issue trusted Let's Encrypt SSL certificates in 60 seconds with zero server setup.

Related Articles

🤖 TryFreeSSL AI Assistant