Skip to main content

How to Generate a Private Key and Certificate Signing Request in WHM

Generate a private key and a Certificate Signing Request (CSR) for a domain or service using the WHM interface. This process allows you to obtain the necessary files to request an SSL certificate from a Certificate Authority (CA).

Generate a private key and a Certificate Signing Request (CSR) for a domain or service using the WHM interface. This process allows you to obtain the necessary files to request an SSL certificate from a Certificate Authority (CA).

Before you begin

You will need:

  • Server Administrator access to WHM

  • The common name (e.g., example.com) and organization details for the certificate

Generate a Private Key and CSR

  1. Log in to WHM.

  2. Navigate to SSL/TLS > Certificate Utility.

  3. Select the domain or service for which you need the certificate.

  4. Enter the required information in the certificate fields:

    • Key Type: Select RSA or ECC (RSA is the standard choice).

    • Key Size: Enter 2048 (or 4096 for higher security).

    • Common Name: Enter the primary domain (e.g., example.com).

    • Organization: Enter your company name.

    • Company Email: Enter a contact email address.

    • Location: Enter your city, state, and country.

  5. Click Generate.

Confirm the result

Once the process completes, the system will display the generated private key and the CSR.

  • The Private Key will be displayed on the screen.

  • The Certificate Signing Request (CSR) will be displayed on the screen.

Important: You must save the Private Key in a secure location. If you lose the private key, you cannot install the certificate on the server.

Limitations

The private key and CSR generated in this section are only valid for the specific domain or service selected during the generation process. This procedure does not automatically issue an SSL certificate; it only provides the files required to request one from a Certificate Authority.

Did this answer your question?