CSR (Certificate Signing Request) is a code that you need to create on your server when obtaining an SSL certificate. It contains details such as domain name, company name, country, city, and a public key . The certificate authority (CA) uses this file to create your SSL certificate.
Connect to the server via SSH:
ssh root@sunucunuz.com
Run command to generate CSR and private key:
openssl req -new -newkey rsa:2048 -nodes -keyout alanadiniz.com.key -out alanadiniz.com.csr
When you run the command, you will be asked to enter the following information:
Country Name (2 letters): TR
State or Province Name: Istanbul
Locality Name: Kadıköy
Organization Name: Company Name Inc.
Organizational Unit Name: IT Department
Common Name (your domain name): www.yourdomain.com
Email Address: admin@yourdomain.com
⚠️ In the "Common Name" section, enter the full domain name where SSL will be installed.
www
If available,www.alanadiniz.com
it should be written.
The resulting files are:
alanadiniz.com.key
→ This is your private key. Keep it safe.
alanadiniz.com.csr
→ This file contains the CSR code to be given to the certificate authority.
Log in to the Plesk panel.
Click on Websites and Domains from the left menu .
Select your domain name > click “SSL/TLS Certificates”.
Click “Add certificate” or “Add new SSL Certificate”.
Fill in the requested information and press the “Generate CSR” button.
Copy the CSR code and send it to your SSL provider.
-----BEGIN CERTIFICATE REQUEST-----
MIIC4jCCAcqgAwIBAgIBADANBgkqhkiG9w0BAQUFADCB...
...rest of the CSR...
-----END CERTIFICATE REQUEST-----
You must pass this code as is, with its beginning and end, to your SSL provider.
Do not share the private key ( .key
) file with anyone.
Provide the CSR file only to the certificate authority (CA).
During SSL setup, .crt
the and .ca-bundle
files will be passed back to you.
You have examined the knowledge base in detail, but if you cannot find the information you need,
Create a Support Ticket