Before a certificate authority can issue your SSL certificate, it needs a Certificate Signing Request (CSR). The CSR is a small block of encoded text that contains your public key and the details that will appear in the certificate. When you create it, a matching private key is created on your server. The private key never leaves your server and must never be sent to anyone, including us.
What a CSR contains
| Field | Example | Notes |
|---|---|---|
| Common Name (CN) | www.example.com | The main hostname. Use *.example.com for a wildcard. |
| Organization (O) | Example Ltd | Legal company name for OV and EV. For DV it is ignored. |
| Locality (L) | Istanbul | City |
| State (ST) | Istanbul | State or province, written in full |
| Country (C) | TR | Two-letter ISO code |
| Key | RSA 2048-bit or ECDSA P-256 | RSA 2048 is the safe default |
Most CAs add the version without www automatically when you order for www.example.com (and the other way round), so you do not need to request both.
Generate a CSR with OpenSSL (Apache, Nginx, any Linux server)
Run this on the server where the certificate will be installed:
openssl req -new -newkey rsa:2048 -nodes \
-keyout example.com.key -out example.com.csr \
-subj "/C=TR/ST=Istanbul/L=Istanbul/O=Example Ltd/CN=www.example.com"
This creates two files. example.com.csr is what you paste into the order form. example.com.key is your private key: keep it on the server and back it up securely. To check the CSR before you submit it:
openssl req -in example.com.csr -noout -text
Generate a CSR in Plesk
- Open Websites & Domains and select the domain.
- Click SSL/TLS Certificates. If you see the SSL It! screen, open the advanced or certificate list view.
- Click Add SSL/TLS Certificate, fill in the name, key size, country, state, city, organization and domain name.
- Click Request. Plesk stores the private key and shows the CSR, which you can copy into the order.
Generate a CSR in cPanel
- Go to Security > SSL/TLS.
- Under Certificate Signing Requests click Generate, view, or delete SSL certificate signing requests.
- Choose a key (or let cPanel generate one), enter the domains and company details, and click Generate.
- Copy the whole CSR text, including the BEGIN and END lines.
Generate a CSR on Windows IIS
- Open IIS Manager, select the server and double-click Server Certificates.
- Click Create Certificate Request and fill in the distinguished name properties. Use the hostname as Common name.
- Choose Microsoft RSA SChannel Cryptographic Provider and a bit length of 2048.
- Save the request to a .txt file and paste its content into the order. Complete the request on the same server later, because IIS keeps the private key there.
Common CSR mistakes
- Losing the private key. If you generate a new key later, the issued certificate will not work. You would need a reissue with a new CSR.
- Wrong Common Name. A certificate for example.com does not automatically cover shop.example.com. Use a wildcard or multi-domain certificate for extra names.
- Special characters in the company name. Use the legal name exactly as registered. For Turkish names, characters such as ş and ğ are usually accepted, but if your tool rejects them, use the plain Latin letters and the CA will match the registry record.
- Key smaller than 2048 bits. CAs reject 1024-bit keys.
Once you have your CSR, choose a certificate on our SSL certificates page. After installation, confirm everything is correct with the SSL Checker.
Need an SSL certificate? Compare DV, OV, EV, wildcard and multi-domain certificates from trusted authorities, priced in USD.