How to generate a CSR (certificate signing request)
Create a private key and CSR in cPanel, on Linux with OpenSSL, or on Windows IIS — and keep the key safe.
Updated 10 September 20262 min read6 views0 found this helpful
On this page
A CSR contains your domain name and public key. The certificate authority signs it to create your SSL certificate.
In cPanel
- Open Security → SSL/TLS → Certificate Signing Requests (CSR).
- Choose Generate a new 2,048-bit key (or larger).
- Enter the domain, for example
www.yourdomain.com, and your organisation details. - Click Generate and copy the CSR, including the BEGIN and END lines.
On Linux with OpenSSL
openssl req -new -newkey rsa:2048 -nodes \
-keyout yourdomain.key -out yourdomain.csr \
-subj "/C=KE/L=Nairobi/O=Your Company Ltd/CN=www.yourdomain.com"On Windows IIS
Open IIS Manager → Server Certificates → Create Certificate Request, fill in the details and choose 2048-bit RSA.
#SSL#CSR#OpenSSL#private key
Was this article helpful?
Your vote helps us write better guides.
