Generate a certificate signing request and private key in your browser, with SANs and RSA or ECDSA keys, checked before you send it to a CA.
Initializing in your browser…
Create a self-signed SSL certificate for local development: host names and IPs that browsers accept, key and .p12 downloads, and server settings.
Generate an SSH key pair in your browser: Ed25519, ECDSA or RSA in OpenSSH format, with the fingerprint, randomart and install commands.
Check a site's SSL certificate chain for a missing intermediate, wrong order, expiry or name mismatch, with the OpenSSL commands to fetch it.
A German shop needs a certificate covering shop.example.de, the bare domain and the www host, and its legal name contains an umlaut and an eszett.
Typed into the form
Common Name shop.example.de Organization Münchener Straßenbahn GmbH Locality München Country DE Alternative names example.de, www.example.de Key ECDSA P-256
openssl req -in shop.example.de.csr -noout -text -verify
Certificate request self-signature verify OK
Certificate Request:
Data:
Version: 1 (0x0)
Subject: CN=shop.example.de, O=Münchener Straßenbahn GmbH, L=München, C=DE
Subject Public Key Info:
Public Key Algorithm: id-ecPublicKey
Public-Key: (256 bit field, 128 bit security level)
Attributes:
Requested Extensions:
X509v3 Subject Alternative Name:
DNS:shop.example.de, DNS:example.de, DNS:www.example.de
Signature Algorithm: ecdsa-with-SHA256
String types, from openssl asn1parse:
22:d=5 hl=2 l= 15 prim: PRINTABLESTRING :shop.example.de
48:d=5 hl=2 l= 28 prim: UTF8STRING :Münchener Straßenbahn GmbH
87:d=5 hl=2 l= 8 prim: UTF8STRING :München
106:d=5 hl=2 l= 2 prim: PRINTABLESTRING :DEOpenSSL verifies the signature, so a CA will too. The SAN list holds all three names, the common name included, because browsers match host names against that list only. The organisation is stored as a UTF-8 string of 28 bytes for 26 characters, since ü and ß take two bytes each, while the plain-ASCII common name and country use the simpler PrintableString type. That is why the name reads back exactly as typed instead of as garbled characters on the issued certificate.
Create a certificate signing request (CSR) and its private key in your browser, ready to send to a certificate authority. Add every host name the certificate must cover, pick RSA or ECDSA, and the request is signed and checked before you download it. The private key never leaves your device.
What a CSR is. To get a TLS certificate, you send a certificate authority (CA) a request containing your public key and the names the certificate should cover, signed with the matching private key. The signature proves you hold the key. The CA checks that you control the names, then issues a certificate for that public key. The private key stays with you and goes on your server next to the certificate.
The names. Browsers only look at the Subject Alternative Name (SAN) list when matching a host, so every name the certificate must cover belongs there: the bare domain, the www host, any subdomains and IP addresses. The common name is added to the list for you. Organisation, locality and country matter for organisation-validated certificates; for a domain-validated one, the common name and SANs are what count. Names with accents or in other scripts are encoded correctly, so they read back exactly as typed.
Choosing a key. RSA 2048 is accepted everywhere. ECDSA P-256 gives similar strength with a much smaller key and faster connections, and every public CA issues it. RSA 3072 or ECDSA P-384 suit policies that ask for more. Each option shows a note on who accepts it, and options your browser cannot generate are marked.
Checked before you send it. After generating, the request's signature is verified the way a CA verifies it, and the page lists exactly what went into the request, so a typo is caught before it costs you a reissue. When the certificate comes back, paste it into the last box to confirm it matches your key.
Keeping the key safe. The key pair is made by your browser's built-in cryptography and is never uploaded. Download the private key straight away: it exists only in this page, and the page asks before it is cleared or closed while the key is unsaved.
Enter www.example.com as the common name and add example.com as an alternative name, so the certificate covers both the www host and the bare domain.
Choose ECDSA P-256 for a key a fraction of the size of RSA with comparable strength, issued by every public CA.
Type a legal name such as Münchener Straßenbahn GmbH; it is encoded as UTF-8 and reads back exactly as typed.
The key is created by your browser's built-in cryptography, the same one used for secure connections, and it is never sent anywhere. Download it, store it securely and close the page when you are done.
RSA 2048 if you are unsure, since everything accepts it. ECDSA P-256 is a good modern choice with smaller keys and faster connections. Use RSA 3072 or ECDSA P-384 if a policy requires more.
Only for organisation or extended validation certificates, where the CA checks them. Domain-validated certificates usually ignore them. The Organizational Unit field is no longer allowed in public certificates.
Browsers match host names against the Subject Alternative Name only and ignore the common name, so every name, including the common name, has to be in the SAN list.
Install it on the server alongside the certificate the CA issues. Without it the certificate cannot be used, and nobody, including the CA, can recover it for you.
Yes. Run openssl req -in yourfile.csr -noout -text -verify to print its contents and verify its signature.
This runs as client-side JavaScript. Keys, tokens, payloads, and other inputs never leave your device.