{"id":18595,"date":"2025-04-06T07:22:08","date_gmt":"2025-04-06T05:22:08","guid":{"rendered":"https:\/\/tremhost.com\/blog\/?p=18595"},"modified":"2026-11-05T17:16:57","modified_gmt":"2026-11-05T15:16:57","slug":"how-to-install-an-ssl-certificate-on-your-website","status":"publish","type":"post","link":"https:\/\/tremhost.com\/blog\/how-to-install-an-ssl-certificate-on-your-website\/","title":{"rendered":"How to Install an SSL Certificate on Your Website"},"content":{"rendered":"<p>To install an SSL certificate, you generate a certificate signing request (CSR) and private key on your server, have the certificate authority validate your domain and issue the certificate, then install the certificate, private key and CA bundle in your hosting control panel or web server. If your host offers free SSL, you may not need to do any of this: in cPanel, AutoSSL issues and installs a free certificate automatically. Either way, finish by redirecting all traffic to HTTPS.<\/p>\n<p>This guide covers the free route, the paid certificate route in cPanel, a short note for your own server, and what to check afterwards.<\/p>\n<h2>Step 0: Check whether you already have free SSL<\/h2>\n<p>Many hosts, including Tremhost, include a free Domain Validated certificate with every hosting plan. In cPanel it is issued by AutoSSL once your domain points to the server, and it renews automatically.<\/p>\n<ol>\n<li>Log in to cPanel and open <strong>SSL\/TLS Status<\/strong>.<\/li>\n<li>Check that your domain and the www version show a valid certificate.<\/li>\n<li>If not, make sure the domain&#8217;s DNS points to your hosting account, then click <strong>Run AutoSSL<\/strong>.<\/li>\n<\/ol>\n<p>Tremhost&#8217;s Help Centre has a step-by-step guide to <a href=\"https:\/\/tremhost.com\/help\/install-free-ssl\">installing free SSL<\/a>. If free SSL is enough for your site, skip to &#8220;Force HTTPS&#8221; below.<\/p>\n<h2>When you need a paid certificate<\/h2>\n<p>Free DV certificates encrypt traffic just as well as paid ones. You might buy a certificate when you need:<\/p>\n<ul>\n<li>Organisation Validation (OV) or Extended Validation (EV), so your verified company name appears in the certificate.<\/li>\n<li>A wildcard certificate covering many subdomains.<\/li>\n<li>A multi-domain certificate covering several different domains.<\/li>\n<li>A certificate from a specific certificate authority, or a longer support and warranty arrangement.<\/li>\n<\/ul>\n<h2>Installing a paid SSL certificate in cPanel<\/h2>\n<h3>1. Generate a CSR and private key<\/h3>\n<ol>\n<li>In cPanel, open <strong>SSL\/TLS<\/strong>.<\/li>\n<li>Under Certificate Signing Requests, click <strong>Generate, view, or delete SSL certificate signing requests<\/strong>.<\/li>\n<li>Choose a key (RSA 2048-bit is the common default) or let cPanel generate a new one.<\/li>\n<li>Enter the domain exactly as it should be secured, for example www.yourbusiness.co.zw, or *.yourbusiness.co.zw for a wildcard.<\/li>\n<li>Fill in the organisation details. For OV and EV they must match your company registration.<\/li>\n<li>Click <strong>Generate<\/strong> and copy the CSR text, including the BEGIN and END lines.<\/li>\n<\/ol>\n<p>cPanel stores the matching private key on the server. Never send the private key to anyone, including the certificate seller.<\/p>\n<h3>2. Submit the CSR and complete validation<\/h3>\n<p>Paste the CSR into your certificate order. The certificate authority then checks that you control the domain, using one of these methods:<\/p>\n<ul>\n<li><strong>Email:<\/strong> an approval link sent to an address such as admin@ or webmaster@ your domain.<\/li>\n<li><strong>DNS:<\/strong> a TXT or CNAME record you add to your domain&#8217;s DNS.<\/li>\n<li><strong>HTTP file:<\/strong> a small file you upload to a specific path on your website.<\/li>\n<\/ul>\n<p>DV certificates are often issued within minutes of validation. OV and EV take longer because the certificate authority also checks your organisation.<\/p>\n<h3>3. Install the certificate<\/h3>\n<ol>\n<li>When the certificate is issued, download it. You will usually receive the certificate (.crt) and a CA bundle with the intermediate certificates.<\/li>\n<li>In cPanel, open <strong>SSL\/TLS<\/strong> and click <strong>Manage SSL sites<\/strong>.<\/li>\n<li>Select the domain and paste the certificate into the Certificate (CRT) box. Click <strong>Autofill by Certificate<\/strong>; cPanel finds the matching private key.<\/li>\n<li>Paste the CA bundle into the Certificate Authority Bundle box if it is not filled automatically.<\/li>\n<li>Click <strong>Install Certificate<\/strong>.<\/li>\n<\/ol>\n<p>Leaving out the CA bundle is a common mistake. The site may look fine on your computer but show errors on some phones and older browsers.<\/p>\n<h2>Installing on your own server<\/h2>\n<p>On a VPS or dedicated server without a control panel, generate the CSR and key with OpenSSL, then point your web server at the files. In Nginx, set ssl_certificate to a file containing your certificate followed by the CA bundle, and ssl_certificate_key to the private key. In Apache, use SSLCertificateFile and SSLCertificateKeyFile (and SSLCertificateChainFile on older versions). Test the configuration, then reload the web server. For free certificates on your own server, an ACME client such as Certbot can issue and renew Let&#8217;s Encrypt certificates automatically.<\/p>\n<h2>Force HTTPS<\/h2>\n<p>Installing a certificate does not by itself send visitors to the secure version. Add a redirect:<\/p>\n<ul>\n<li><strong>cPanel:<\/strong> open <strong>Domains<\/strong> and turn on <strong>Force HTTPS Redirect<\/strong> for the domain.<\/li>\n<li><strong>WordPress:<\/strong> in Settings &gt; General, change both the WordPress Address and Site Address to start with https:\/\/.<\/li>\n<li><strong>Cloudflare:<\/strong> if your site uses Cloudflare, set SSL\/TLS mode to Full (strict) once a valid certificate is on the server, and turn on Always Use HTTPS.<\/li>\n<\/ul>\n<h2>Check that everything works<\/h2>\n<ul>\n<li>Open the site in a private browser window with https:\/\/ and confirm the padlock appears.<\/li>\n<li>Test both yourdomain and www.yourdomain.<\/li>\n<li>Look for <strong>mixed content<\/strong>: images, scripts or stylesheets still loaded over http:\/\/. Browsers block or warn about them. Update the links, or use a search-and-replace tool on the WordPress database.<\/li>\n<li>Run an online SSL checker to confirm the full certificate chain is installed.<\/li>\n<li>Update the site address in Google Search Console and any links you control.<\/li>\n<\/ul>\n<h2>Keep it renewed<\/h2>\n<p>Free certificates from AutoSSL or Let&#8217;s Encrypt renew automatically as long as the domain still points to the server. Paid certificates need renewing before the expiry date; set a reminder well in advance, especially for OV and EV, which need revalidation. An expired certificate shows visitors a full-page security warning.<\/p>\n<h2>Frequently asked questions<\/h2>\n<h3>Do I need to buy an SSL certificate?<\/h3>\n<p>Not usually. A free DV certificate is enough for most websites. Buy one when you need organisation validation, a wildcard or multi-domain cover.<\/p>\n<h3>Why does my site still say &#8220;Not secure&#8221; after installing SSL?<\/h3>\n<p>Usually because the site is still loading over HTTP, or some content on the page uses http:\/\/ links. Force HTTPS and fix mixed content.<\/p>\n<h3>Can I move an SSL certificate to a new host?<\/h3>\n<p>Yes, if you have the certificate, CA bundle and private key. If you no longer have the private key, generate a new CSR and ask the certificate authority to reissue the certificate.<\/p>\n<h2>Next step<\/h2>\n<p>All Tremhost <a href=\"https:\/\/tremhost.com\/sharedhosting\">hosting plans<\/a> include free SSL. If you need OV, EV, wildcard or multi-domain cover, see the <a href=\"https:\/\/tremhost.com\/ssl\">Tremhost SSL certificates page<\/a>, where paid certificates start at $40 a year and installation is free on Tremhost hosting and servers.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Generate a CSR, validate your domain, install the certificate and CA bundle, then force HTTPS. Or use free AutoSSL if your host provides it. Here is each step.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-18595","post","type-post","status-publish","format-standard","hentry","category-general"],"_links":{"self":[{"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/posts\/18595","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=18595"}],"version-history":[{"count":2,"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/posts\/18595\/revisions"}],"predecessor-version":[{"id":80878,"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/posts\/18595\/revisions\/80878"}],"wp:attachment":[{"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/media?parent=18595"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/categories?post=18595"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/tags?post=18595"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}