Skip to content
toolstome

CSR generator

Ordering an SSL certificate? Fill in the domain, organisation and location, add extra domains as subject alternative names, and get a PEM-encoded CSR to paste into your certificate authority’s order form, plus the matching private key to install on your server. Choose RSA 2048, 3072 or 4096, or ECDSA P-256 or P-384. The request is built and signed in your browser with Web Crypto, so the private key never leaves your device. The equivalent OpenSSL command is shown too, if you’d rather run it on the server.

Free · No sign-upProcessed in your browser

Key type

OpenSSL equivalent

openssl req -new -newkey rsa:2048 -nodes -keyout private.key -out request.csr -subj ""

Generated in your browser. The private key never leaves your device.

How to use the CSR Generator

  1. 1

    Choose a key type

    RSA 2048 works everywhere; ECDSA P-256 is smaller and faster.

  2. 2

    Fill in the details

    The common name is your main domain; add others as SANs.

  3. 3

    Generate and save

    Send the CSR to your CA; keep the key on your server.

When to use it

  • Order an SSL certificate from a certificate authority.
  • Request a multi-domain (SAN) or wildcard certificate.
  • Make a test CSR for a lab or internal CA.

Limits

  • Keep the private key: the certificate won’t work without it, and it can’t be recovered.
  • Extended validation details are checked by the CA, not by this tool.

Privacy

The key pair and CSR are made in your browser; nothing is uploaded or stored.

Frequently asked questions

What goes in the common name?

The main domain the certificate is for, such as www.example.com, or *.example.com for a wildcard.

Do I need subject alternative names?

Yes. Browsers check SANs, not the common name. The common name is added as a SAN automatically; add any other domains too.

RSA or ECDSA?

RSA 2048 is accepted everywhere. ECDSA P-256 gives smaller, faster keys and is supported by all modern browsers and CAs.

Is it safe to create the private key in a browser?

The key is created by your browser’s cryptography and never sent anywhere. Download it straight away and keep it private.

How do I check the CSR?

Paste it into the Certificate Decoder to see the subject, key and SANs.

What if I lose the private key?

Generate a new CSR and key and ask your CA to reissue the certificate.

People also use

Last updated November 23, 2026 · How we build and test our tools

Categories

Recently used tools

Tools you open will appear here.

More