CSR Generator
Create a CSR and private key for an SSL certificate; RSA or ECDSA, wildcard and SAN. The key stays in your browser.
The key and CSR are generated in your browser; your details and the private key are never sent anywhere.
What is a CSR?
A CSR (Certificate Signing Request) is the signed application you send to a certificate authority (CA) to get an SSL certificate. It holds the domain names the certificate will cover, your organisation details and the public key; it does not contain the private key. Once the CA validates the domain, it issues a certificate for that public key. The certificate only works with the private key generated together with the CSR.
How to fill in the fields
Common Name (CN): the main domain of the certificate, for example example.com. For a wildcard, enter *.example.com; a wildcard covers every subdomain but not the bare example.com, so add that as an extra name. Extra names (SAN): other names the same certificate should cover. Browsers and CAs read names from the SAN list, not the CN; the tool adds the CN to the list for you. Organisation and city: they are not printed on domain validated (DV) certificates; for organisation validated (OV, EV) certificates they must match your legal details exactly. Non-ASCII characters are encoded correctly as UTF-8.
Key type: RSA 2048 works everywhere and is the default at most CAs. ECDSA P-256 gives the same security with a much smaller key and faster handshakes; every current browser supports it. RSA 4096 is slower and brings no practical gain over 2048.
Where to paste the CSR
When you activate the certificate in your provider's or CA's panel, it asks for a CSR. Paste all of it, including the -----BEGIN CERTIFICATE REQUEST----- and -----END CERTIFICATE REQUEST----- lines. After validation you receive the certificate (.crt) and the intermediate certificate; install them on the server with the key generated here. For nginx:
ssl_certificate /etc/ssl/domain.crt; # certificate + intermediate
ssl_certificate_key /etc/ssl/private/domain.key;
After installing, verify the chain with our SSL checker.
Keep the private key safe
Download the .key file now. The key only exists in this tab; it is gone when you close the page and we have no copy. If you lose it the certificate cannot be used, and you have to reissue it with a new CSR. Never share the private key; no CA will ask for it. On the server, make it readable by root only: chmod 600.
If you use IIS
IIS can generate its own CSR: in IIS Manager, use Server Certificates > Create Certificate Request, then Complete Certificate Request when the certificate arrives; the private key stays in the Windows certificate store. If you generated the CSR with this tool, IIS does not accept a separate .key file and wants the certificate and key in a single PFX file:
openssl pkcs12 -export -out domain.pfx -inkey domain.key -in domain.crt -certfile intermediate.crt
The command asks for a PFX password; enter the same password when you Import it in IIS.
Let's Encrypt needs no manual CSR
For free Let's Encrypt certificates, certbot generates the key and CSR itself and handles renewals too:
sudo certbot --nginx -d example.com -d www.example.com
This tool is for paid DV, OV and EV certificates, or any panel that asks for a CSR.
The key is generated in your browser
The key pair is generated on your computer with the browser's WebCrypto interface, and the CSR is signed there as well. Your details and the private key are not sent to our server, not stored and never put in the address bar. If you prefer to generate the key on your own server, OpenSSL gives the same result:
openssl req -new -newkey rsa:2048 -nodes -keyout example.key -out example.csr \
-subj "/C=TR/L=Istanbul/O=Company Name/CN=example.com" \
-addext "subjectAltName=DNS:example.com,DNS:www.example.com"
A full-access VDS is all you need to host the site the certificate is for.
More free tools
FAQ
About CSR Generator
No. The key is generated in your browser and the CSR is signed there; the page sends no request and neither your details nor the key are stored. Once the page has loaded it works even if you go offline.
Enter *.example.com as the Common Name and add the bare domain (example.com) to the extra names. A wildcard covers one level only: www.example.com and panel.example.com yes, a.b.example.com no.
If unsure, RSA 2048. It works with every CA, every server and even very old clients. ECDSA P-256 is smaller and faster and supported by every current browser; it is a good choice if your CA issues ECDSA certificates.