GoGetSSL Logo
SSL CertificatesTrust solutions
Home Wiki CSR / SSL Generation How to Generate a Private Key and CSR in cPanel

How to Generate a Private Key and CSR in cPanel

  • To order an SSL certificate, you need a Private Key and a Certificate Signing Request (CSR). cPanel allows you to generate and manage both directly from your hosting account.

    The cPanel interface may vary depending on its version and hosting provider. In newer installations, SSL tools may appear under SSL/TLS Certificates, with separate Keys and Requests tabs. In other installations, you may find them under SSL/TLS.

    • *

      Step 1. Generate a Private Key in cPanel

      1. Log in to your cPanel account.
      2. Go to the Security section and open SSL/TLS or SSL/TLS Certificates.
      3. Open the Keys tab or click Generate, view, upload, or delete your private keys under Private Keys (KEY).
      cPanel SSL/TLS page with the Private Keys (KEY) section
      1. Under the private key generation section, select the required key type.
      cPanel Generate a New Private Key form with the key size and Generate button
      1. Optionally, enter a description to help you identify the key later (for example, example.com – SSL certificate).
      2. Click Generate.

      Your private key will be generated and made available in cPanel. Make sure it appears in the list of keys stored on the server.

      Important: Please specify your domain name when generating the CSR.

    • *

      Step 2. Generate a Certificate Signing Request (CSR)

      1. Return to the main SSL/TLS interface or open the Requests tab in SSL/TLS Certificates.
      2. Under Certificate Signing Requests (CSR), click Generate, view, or delete SSL certificate signing requests.
      cPanel SSL/TLS page with the Certificate Signing Requests (CSR) section
      1. On the Generate a New Certificate Signing Request (CSR) page, select the private key you created in Step 1 from the Key menu. If the key is not listed, make sure it has been generated or uploaded to cPanel.
      cPanel Generate a New Certificate Signing Request (CSR) form
      1. Complete the CSR form with the required information:
        • Domain: Enter the fully qualified domain name (FQDN) you want to secure, such as example.com or www.example.com.
        • Company: Enter your organization's legal name, if applicable.
        • Company Division: Enter the relevant department, if requested.
        • City and State: Provide the appropriate location details.
        • Country: Select the correct country.
        • Email: Enter a valid contact email address, if requested.

      The exact fields may vary. For a multi-domain certificate, make sure all required domain names are included in the CSR form and match your certificate order.

      1. Review the information and click Generate.

      cPanel will generate the CSR associated with the selected private key.

    • *

      Step 3. Copy and Save Your CSR

      After generating the CSR:

      1. Locate the newly created request in the CSR list.
      2. Open or view the request. If necessary, click Edit to display its encoded CSR.
      3. Copy the entire CSR, including the header and footer:
      -----BEGIN CERTIFICATE REQUEST-----
      Your encoded CSR data
      -----END CERTIFICATE REQUEST-----
      1. Paste the CSR into a plain-text editor and save it for your SSL certificate order.
      2. Submit the CSR in the appropriate field during the GoGetSSL certificate ordering process.

      You can provide the CSR to the Certificate Authority. It does not contain your private key.

    • *

      Important: Keep Your Private Key Secure

      Your private key must remain confidential. Do not send it to the Certificate Authority or include it in your certificate order.

      Keep a secure backup of the key as a lost private key cannot be recovered. If it is lost, you will need to generate a new key and CSR and have the certificate reissued.

      Once your SSL certificate has been issued, you can install it in cPanel using the Install and Manage SSL for your site (HTTPS) feature.

Fast Issuance within 3-5 minutes

Get a domain-validated SSL certificate within minutes, with no paperwork and no company details needed. Prove you own the domain by email, DNS or a file on your website.

ACME SSL Automation

No more manual installs or expired certificates: automated SSL renews and installs them on any web server. You set it up once, and every renewal runs by itself.

WHMCS Reseller Plugin

Sell SSL certificates from your own hosting platform with our free WHMCS plugin. Your customers order and manage certificates in your client area. See our partner program.

Money Back 30-day guarantee

Your satisfaction comes first: get a full refund within 30 days of buying any SSL certificate, from any brand. Just contact our support team and we will take care of the rest.

Boost Validation

The Legal Entity Identifier (LEI) is a robust and modern way to verify and identify companies, helping to validate OV SSL certificates

Register LEI for $51.00

Help Center

Installation issues or SSL errors? Our Knowledgebase has clear, step-by-step guides to help you install, fix, and troubleshoot fast

Check Manuals

The trust that never expires

Since 2009, we've delivered web security and trust services worldwide. See why customers keep choosing us. From startups to enterprises, we help businesses of all sizes stay secure and build trust with their audience.

Shopper Approved reviews for GoGetSSL