cPanel SSL/TLS Guide
SSL (Secure Sockets Layer) and TLS (Transport Layer Security) provide encrypted communication between your server and website visitors. This guide walks you through all key tasks related to managing SSL certificates via cPanel.
Evans
Last Update há 2 meses
Private keys are used to decrypt encrypted data. They’re automatically generated when you create a CSR, but you can also create them manually.
Steps:Log in to cPanel.
Go to the Security section and click on SSL/TLS.
Under Private Keys (KEY), click Generate, view, upload, or delete your private keys.
Choose a key size (2048 or 4096 bits is recommended).
Optionally, add a description.
Click Generate.
If you already have a private key:
Still in SSL/TLS, under Private Keys, scroll to the Upload a New Private Key section.
Either:
Paste your .key content in the textbox, or
Use the file upload option to browse and upload the .key file.
Click Save or Upload.
A CSR is required when requesting an SSL certificate from a trusted Certificate Authority (CA).
Steps:In SSL/TLS, under Certificate Signing Requests (CSR), click Generate, view, or delete SSL certificate signing requests.
In the Generate a New Certificate Signing Request (CSR) section:
Select an existing private key or generate a new one.
Enter the domain (e.g., yourdomain.com or *.yourdomain.com for wildcard).
Fill in required fields: City, State, Country, Company, etc.
Click Generate.
Once you’ve received the .crt file from your SSL provider:
Under Certificates (CRT), click Generate, view, upload, or delete SSL certificates.
Scroll to Upload a New Certificate:
Either paste the certificate content, or
Upload the .crt file directly.
Click Save Certificate or Upload Certificate.
You may use a self-signed certificate for testing, though browsers will show a warning.
Steps:Go to Certificates (CRT) section and click Generate, view, upload, or delete SSL certificates.
Scroll to Generate a New Certificate.
Select a private key, enter the domain, and provide contact details.
Click Generate.
Once you’ve uploaded or generated a certificate:
From the SSL/TLS manager, click Install and Manage SSL for your site (HTTPS) under the Install an SSL Website section.
Choose your domain from the dropdown list.
Click Autofill by Domain to automatically populate certificate fields.
Review and click Install Certificate.
AutoSSL is available on most cPanel servers. If active, it will try to install free SSL certificates from cPanel (via Sectigo).
For custom certificates (e.g., paid SSL), always generate a CSR and ensure the matching private key is on the server.