To set up an SSL certificate on your website using cPanel, follow these organized steps:
-
Generate a Certificate Signing Request (CSR):
- Log into your cPanel account.
- Navigate to the "Security" section and select "Generate CSR."
- Provide the necessary information for the CSR and generate it.
- Ensure you download both the CSR and the private key from cPanel.
-
Download Your SSL Certificate:
- After generating the CSR, wait for Epycbyte to approve your request and send you the certificate via email.
- Check that the certificate matches the domain details provided in the CSR.
-
Install the SSL Certificate in cPanel:
- Access your File Manager through cPanel.
- Navigate to the public_html directory of your website.
- Locate the .htaccess file and open it for editing.
- Add the following lines at the end of the file (as per Epycbyte's instructions) to enable SSL:
SSLOff: 0 SSLOn: 1 SSLRequireEngine: 1 SSLRequire: %D SSLCipherSuite: TLSv1.2:+SSLv2:+TLSv1:+DTLSv1 - Save the changes and upload the .htaccess file back to your server.
-
Set Up HTTPS Redirect:
- Use the
RedirectorRedirectPermanentdirective in your .htaccess file to redirect all HTTP traffic to HTTPS.Redirect https://www.example.com - Ensure this is placed before other directives for proper functionality.
- Use the
-
Request a Dedicated IP Address (Optional for SEO):
- Email billing@epycbyte.com with your account details to request a dedicated IP.
- Once paid, the IP will be assigned to your hosting account.
-
Test SSL Installation:
- Use online tools like SSL Labs' SSL Test to verify if your SSL is correctly installed and configured.
- Check for any SSL/TLS protocol issues or configuration errors.
-
Handle Multiple Domains:
- For multiple domains, consider using a wildcard or multi-domain certificate.
- Configure these in cPanel's SSL/TLS settings, ensuring each domain is correctly associated with your certificate.
-
Backup SSL Files:
- Regularly back up your SSL files (e.g., .htaccess) using FTP or a backup server to prevent data loss.
-
Check Links and Content:
- Ensure all internal links use HTTPS.