Have a Question?
How to generate a private key and CSR file with cPanel?
Table of contents
To issue a certificate, you need a certificate signing request, briefly a CSR file. Based on the data provided in the CSR file, the certificate issuer will issue the certificate that can later be used, among other things, to secure websites. The certificate signing request can be made on the cPanel interface before the certificate is ordered.
There are several options for creating a private key and its associated CSR file:
- How to generate a private key and CSR file with Plesk?
- How to generate a private key and CSR from the Linux command line?
- How to generate a private key and CSR on the Microsoft Windows system?
Make a certificate signing request:
- Log in to cPanel.
- Find the SSL/TLS and click on it to load.
{%CAPTION%}
- In the SSL/TLS page find the Certificate Signing Requests (CSR) and click the Generate, view, or delete SSL certificate signing requests. link.
{%CAPTION%}
- You will need to enter the following information on the page that appears (fill in the marked fields):
- Key: If you have not previously created a secret key, you can choose the secret key strength.
- Domains: In this field, you must enter the domain name or subdomain name for which the certificate will be issued by the certificate issuer. This field does not need to enter “http://” “https://” prefixes.
-
- City: Enter the
- organization headquaters city
- in the case of a natural person, the city in which you are staying
- City: Enter the
-
- State : Provide the state or county in which:
- the headquarters of the organization
- in the case of a natural person, the state or county of the city to which it belongs belongs
- Country: From the drop-down list, select:
- country of the organization
- in the case of a natural person, your country of residence
- Company: Enter the:
- organization’s full or abbreviated name
- in the case of a natural person, his full name
- Company Division: you can enter the name of the department within that organization.
- Email: You can specify an email address that can be used to contact you.
- Passphrase: You can specify a passpharse. Some certificate authorities may require CSRs to have a passphrase.
- Description: For easier identification, it is a good idea to give a unique name to the CSR file.
- State : Provide the state or county in which:
-
- Once you have entered the data, click the Generate button.
- After generation, the page will display the CSR file in two formats. You will need to copy the text that appears in the Encoded Certificate Signing Request part to the order which looks like this:
-----BEGIN CERTIFICATE REQUEST----- CSR CODE -----END CERTIFICATE REQUEST-----