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.
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
Choose a key type
RSA 2048 works everywhere; ECDSA P-256 is smaller and faster.
- 2
Fill in the details
The common name is your main domain; add others as SANs.
- 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.
Related tools
- Certificate DecoderReads X.509 certificates and CSRs: names, dates, SANs, key, extensions and fingerprints.
- SSL/TLS Certificate CheckerCheck a website’s certificate: when it expires, who issued it, which names it covers and whether it’s trusted.
- SSH Key GeneratorMake an Ed25519 or RSA SSH key pair in OpenSSH format, with its fingerprint, without installing anything.
People also use
- Phishing URL CheckerCheck a suspicious link for phishing tricks such as look-alike brand names and punycode, without opening it.
- 2FA / TOTP Code GeneratorGet 6-digit 2FA codes from a secret or QR code, create test secrets and check codes, all in your browser.
- Bcrypt & Argon2 Hash GeneratorCreate and check bcrypt and Argon2 password hashes, with parameters compared to OWASP guidance.
- Subdomain FinderDiscover a domain’s subdomains from public SSL certificate logs, and check which still resolve.
Last updated November 23, 2026 · How we build and test our tools