About Certificate Signing Request (CSR) Generator
Fill in the common name, the organisation details and the host names, IP addresses or e-mail addresses the certificate should cover, choose a key type, and create the key and the PKCS #10 request together. The request is what you paste into a certificate authority’s order form or hand to your internal CA; the private key stays with you and goes on the server that will use the certificate.
The key is generated by Web Crypto in your browser and is never sent or stored: save the key file before you leave the page, because nothing can recover it. Change the subject or the names afterwards and the request is signed again with the same key.
How it works
- Web Crypto generates the key pair in the page: RSA with exponent 65537, ECDSA on P-256 or P-384, or Ed25519 where the browser has it.
- The subject is written in the order OpenSSL uses (C, ST, L, O, OU, CN, emailAddress), as PrintableString where the characters allow and UTF8String where they do not.
- Alternative names go into a subjectAltName extension inside the request’s extensionRequest attribute. Internationalised host names are converted to their xn-- form, and a host name in CN is repeated there unless you switch that off.
- The request is signed with the new key: SHA-256 with RSA, SHA-256 or SHA-384 with ECDSA to match the curve, or Ed25519. The private key is written as unencrypted PKCS #8 PEM.
Questions
Is the private key sent anywhere or kept?
No. It is made by your browser’s Web Crypto on this page, held only in the page’s memory and gone when you close it. Download or copy it before you leave: nothing can recover it, and the certificate issued for the request cannot be used without it.
Which key type should I choose?
RSA 2048-bit is accepted by every certificate authority and server. ECDSA P-256 is smaller and faster and is accepted by the large public authorities. Use Ed25519 only if your authority says it signs such requests; many do not yet, and older browsers cannot make the key.
Do I still need a common name?
Browsers ignore the common name and check only the alternative names, which is why a host name typed as the CN is repeated among them. You can leave CN empty and give alternative names only; the request then marks that extension critical, as the standard asks.
Can the private key have a passphrase?
Not here: it is written unencrypted, as servers usually expect. To add one, run openssl pkcs8 -topk8 -v2 aes-256-cbc -in on the downloaded key file and give the output name with -out.
How do I check the request before sending it?
Run openssl req -in with the file name and -noout -text -verify: it prints every field and confirms the signature. The certificate decoder on this site reads certificates, not requests.
Everything you enter here is processed in this browser tab. Nothing is uploaded, logged or shared. How privacy works here.