{"id":11554,"date":"2025-03-21T12:00:50","date_gmt":"2025-03-21T10:00:50","guid":{"rendered":"https:\/\/tremhost.com\/blog\/?p=11554"},"modified":"2025-03-21T12:00:50","modified_gmt":"2025-03-21T10:00:50","slug":"how-to-install-a-free-ssl-certificate-on-cpanel-lets-encrypt-guide","status":"publish","type":"post","link":"https:\/\/tremhost.com\/blog\/how-to-install-a-free-ssl-certificate-on-cpanel-lets-encrypt-guide\/","title":{"rendered":"How to Install a Free SSL Certificate on cPanel (Let&#8217;s Encrypt Guide)"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><h3>How to Install a Free SSL Certificate on cPanel Using Let&#8217;s Encrypt<\/h3>\n<p>Installing a free SSL certificate from Let&#8217;s Encrypt on a cPanel-managed hosting can significantly enhance your website&#8217;s security by encrypting data transferred between your server and your visitors. Here\u2019s a step-by-step guide on how to set this up:<\/p>\n<h4>1. <strong>Check for AutoSSL<\/strong><\/h4>\n<p>Before manually installing Let&#8217;s Encrypt, check if your hosting provider offers AutoSSL (cPanel&#8217;s built-in SSL management feature) which automatically installs and renews Let\u2019s Encrypt SSL certificates for all domains configured in your account.<\/p>\n<ul>\n<li><strong>Log into cPanel<\/strong>: Access your hosting dashboard.<\/li>\n<li><strong>Find the &#8216;SSL\/TLS Status&#8217;<\/strong>: This tool is often found under the \u2018Security\u2019 section.<\/li>\n<li><strong>Check AutoSSL<\/strong>: If enabled, your domains should be covered automatically. If not, or if you prefer to use Let&#8217;s Encrypt directly, proceed with the following steps.<\/li>\n<\/ul>\n<h4>2. <strong>Enable Let\u2019s Encrypt with AutoSSL<\/strong><\/h4>\n<p>If your host supports AutoSSL but hasn\u2019t enabled Let\u2019s Encrypt:<\/p>\n<ul>\n<li><strong>Access WHM (Web Host Manager)<\/strong>: You\u2019ll need root access to WHM to change this setting.<\/li>\n<li><strong>Navigate to \u2018Manage AutoSSL\u2019<\/strong>: Usually found under the \u2018SSL\/TLS\u2019 section.<\/li>\n<li><strong>Select Provider<\/strong>: Choose &#8216;Let\u2019s Encrypt&#8217; as the provider and agree to the terms of service.<\/li>\n<li><strong>Enable AutoSSL<\/strong>: Apply AutoSSL to your domains. WHM will automatically install and periodically renew the SSL certificates.<\/li>\n<\/ul>\n<h4>3. <strong>Manual Installation of Let\u2019s Encrypt<\/strong><\/h4>\n<p>If AutoSSL isn\u2019t available or you prefer a more manual approach:<\/p>\n<ul>\n<li><strong>Access SSH<\/strong>: Connect to your server via SSH.<\/li>\n<li><strong>Install Certbot<\/strong>: Certbot is a Let\u2019s Encrypt client that simplifies the process of obtaining and installing SSL certificates. Install Certbot by running:\n<pre><code>sudo yum install certbot python2-certbot-apache  # For CentOS\/RHEL\r\nsudo apt-get install certbot python-certbot-apache  # For Debian\/Ubuntu\r\n<\/code><\/pre>\n<\/li>\n<li><strong>Generate Certificate<\/strong>: Execute Certbot to generate the SSL certificate:\n<pre><code>sudo certbot --apache -d yourdomain.com -d www.yourdomain.com\r\n<\/code><\/pre>\n<p>Replace <code>yourdomain.com<\/code> with your actual domain name.<\/li>\n<\/ul>\n<h4>4. <strong>Manual Configuration in cPanel<\/strong><\/h4>\n<p>If you installed the SSL certificate via Certbot without cPanel\/WHM integration:<\/p>\n<ul>\n<li><strong>Log into cPanel<\/strong>: Go to the SSL\/TLS manager.<\/li>\n<li><strong>Install and Manage SSL<\/strong>: Find the section to manage SSL sites.<\/li>\n<li><strong>Install SSL Certificate<\/strong>: Copy and paste the certificate (CRT), private key (KEY), and CA bundle (CABUNDLE) into the appropriate fields for your domain. These files are typically located in <code>\/etc\/letsencrypt\/live\/yourdomain.com\/<\/code>.<\/li>\n<\/ul>\n<h4>5. <strong>Verify Installation<\/strong><\/h4>\n<ul>\n<li><strong>SSL Check<\/strong>: Use an online tool like SSL Labs&#8217; SSL Test to check if the SSL certificate is installed correctly and functioning as expected.<\/li>\n<li><strong>Browser Padlock<\/strong>: Visit your website and ensure that browsers show a secure padlock icon, indicating that SSL is working properly.<\/li>\n<\/ul>\n<h4>6. <strong>Setup Automatic Renewal<\/strong><\/h4>\n<p>Let\u2019s Encrypt certificates are valid for 90 days, so setting up automatic renewal is crucial:<\/p>\n<ul>\n<li><strong>Cron Job for Renewal<\/strong>: Add a cron job to run the renewal command periodically:\n<pre><code>0 2 * * * \/usr\/bin\/certbot renew --quiet\r\n<\/code><\/pre>\n<p>This command attempts to renew any expiring certificates at 2:00 AM daily.<\/li>\n<\/ul>\n<p>By following these steps, you can successfully install a free SSL certificate from Let&#8217;s Encrypt on your cPanel server, enhancing your website\u2019s security and trustworthiness without incurring additional costs.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to Install a Free SSL Certificate on cPanel Using Let&#8217;s Encrypt Installing a free SSL certificate from Let&#8217;s Encrypt on a cPanel-managed hosting can significantly enhance your website&#8217;s security by encrypting data transferred between your server and your visitors. Here\u2019s a step-by-step guide on how to set this up: 1. Check for AutoSSL Before [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":11555,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"tdm_status":"","tdm_grid_status":"","footnotes":""},"categories":[49],"tags":[],"class_list":{"0":"post-11554","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-tips"},"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/posts\/11554","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/comments?post=11554"}],"version-history":[{"count":1,"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/posts\/11554\/revisions"}],"predecessor-version":[{"id":11556,"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/posts\/11554\/revisions\/11556"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/media\/11555"}],"wp:attachment":[{"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/media?parent=11554"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/categories?post=11554"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/tags?post=11554"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}