How to install a self-signed SSL certificate in cPanel

Last modified: Friday December 1st, 2023

This article describes how to create and install a self-signed SSL certificate in cPanel.

To install a self-signed SSL certificate on your Beehosting account for testing and development purposes. You should create a private key and digitally sign your own SSL certificate in cPanel.

Please, follow these steps to create and install a self-signed SSL certificate:

  1. Log in to cPanel.
  2. Click SSL/TLS In the SECURITY section of the cPanel home screen:
  3. Click Generate, view, upload, or delete your private keys, under Private Keys (KEY), and the Private Keys page appears.
  4. Under Generate a New Private Key, confirm that the Key Type is set to RSA, 2,048-bit.
  5. In appears Description text box, type a descriptive name for the key, such as the Self-signed cert key.
  6. Click Generate and cPanel generate and display the private key.
  7. Click Return to SSL/TLS.
  8. Under Certificates (CRT) on the SSL/TLS page, click Generate, view, upload, or delete SSL certificates. The Certificates page appears.
  9. In the Key list box under Generate a New Certificate, select the description for the private key you generated in step 6.
  10. In the Domains text box, type the domain that you want to secure with the self-signed certificate, such as test.example.com.
  11. Complete the remaining fields for the certificate.
    Make sure you use the correct two-letter country code (for example, US or FR). For a complete list of these codes, please visit http://www.iso.org/iso/country_codes/iso_3166_code_lists/country_names_and_code_elements.htm.
  12. Click Generate. cPanel generates and displays the self-signed certificate.
  13. Click Return to SSL/TLS.
  14. From the SSL/TLS page, under Install and Manage SSL for your site (HTTPS), click Manage SSL sites. The Manage SSL Hosts page appears.
  15. Under Install an SSL Website, click Browse Certificates, select the certificate you generated in step 12, and then click Use Certificate. cPanel fills in the Certificate (CRT) and Private Key (KEY) fields automatically.
    Because this is a self-signed certificate, the Certificate Authority Bundle (CABUNDLE) field remains blank.
  16. In the Domain list box, select the domain you want to secure with the certificate.
  17. Click Install Certificate. cPanel installs the certificate on the server and enables SSL. When the process is complete, you receive an SSL Host Successfully Installed message.
  18. Click OK. You can now securely access the specified domain by using the https:// prefix in a web browser, but you will receive a warning message about the self-signed certificate.

Looking for ways to protect your site? Get the right level of website protection with our SSL options.

Was this article helpful?
Views: 663

10 Years Beehosting!
Celebrate with 70% OFF + FREE Site Transfer.

Beehosting.pro website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Menu