Have a Question?

Categories

How to generate a private key and CSR file with Plesk?

You are here:
< All topics
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.

When generating a CSR file, a private key is created that will allow the certificate to be installed after the certificate is issued. cPanel also generates and stores the private key, which can be accessed on cPanel at any time.

There are several options for creating a private key and its associated CSR file:

Make a certificate signing request:

  1. Log in to Plesk.
  1. Find the SSL/TLS Certificates menu, and click on it.
    {%ALT_TEXT%}

    {%CAPTION%}

  2. Below the Add SSL/TLS Certificate title you can generate the certificate signing request.
    {%ALT_TEXT%}

    {%CAPTION%}

  3. You will need to enter the following information on the page that appears (fill in the marked fields):
    • Certificate name: For easier identification, it is a good idea to give a unique name to the CSR file. You can then fill in the fields below the Settings to specify the details that will appear on the certificate.
    • Bits: If you have not previously created a secret key, you can choose the secret key strength.
    • Country:From the drop-down list, select:
      • country of the organization
      • in the case of a natural person, your country of residence
    • State or province: 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
    • Location (city): Enter the
      • organization headquaters city
      • in the case of a natural person, the city in which you are staying
    • Organization name (company): Enter the:
      • organization’s full or abbreviated name
      • in the case of a natural person, his full name
    • Organization department or division name:you can enter the name of the department within that organization.
    • Domain name:  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.
    •  

The domains field should normally be the domain name, for example: example.com. If you require an SSL certificate for a subdomain, you must enter the subdomain.example.com. If you want to request a wildcard SSL certificate, you should start with *, for example: *.example.com where example.com represents the domain name. If you enter multiple domain names, enter a domain name per line.

  • Email: You can specify an email address that can be used to contact you.
  • After entering the data, click the Request button.
  • After generation, the page will display the CSR file or files. If you click on the name of the certificate you provided, the generated certificate signature request will appear at the bottom of the page. You must copy the text appearing in the CSR section to the order that looks like this:

    -----BEGIN CERTIFICATE REQUEST-----
    CSR CODE
    -----END CERTIFICATE REQUEST-----

Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we correct this article?
Please submit the reason for your vote so that we can improve the article.
Tags:
Previous How to enable gzip compression?
Next How to setup Redis access on Plesk hosting?