top of page

Buy a domain, then instantly build an Ai Website in seconds!

How to Install an SSL Certificate on Your Website or Server

3 hours ago
9 min read

Geometric illustration of SSL certificate installation

Installing an SSL certificate comes down to three files and one place to put them: the certificate issued for your domain, the private key that was created with your certificate request, and the intermediate (chain) certificate. On shared hosting with cPanel you paste them into a form. On a VPS you point your web server at them and reload it. Most failed installs come from a missing key or an incomplete chain, so this guide covers both routes and how to check the result. If you’d rather buy the certificate from the same South African provider that hosts the site, Joodle sells SSL certificates alongside cPanel hosting and VPS plans.



TL;DR

 

  • Have three things ready: the certificate (CRT), its private key (KEY) and the CA bundle (the intermediate certificates).

  • On cPanel, use the SSL/TLS section and Manage SSL sites. On a VPS, reference the files in your Apache or Nginx config and reload the service.

  • A browser padlock isn’t a full test. A missing intermediate certificate often shows up first in command-line tools, mobile apps and crawlers.

  • Free certificates renew automatically and suit most business sites. Paid ones add organisation validation or wildcard coverage.

  • Never lose the private key. It can’t be recovered.

 

Table of Contents

 

 

What to have ready before you install

 

A certificate is useless without the key it was built around. When you generate a certificate signing request (CSR, the file you send to the certificate authority to get a certificate issued), your server or panel creates a private key at the same moment. cPanel’s documentation is blunt about this: the key has to be added before the certificate, and a lost key can’t be recovered. If it’s gone, you generate a new CSR and have the certificate reissued.

 

So before you start, collect:

 

  1. The certificate file your authority emailed or made available for download, usually ending in .crt or .pem.

  2. The private key (.key) from when you generated the CSR. Check your server, your password manager or the panel where the CSR was made.

  3. The CA bundle, also called the chain or intermediate certificates. Authorities normally send it with the certificate.

  4. Access to the cPanel account, or root or sudo on the server.

  5. A domain that already resolves to the server. Validation and testing both need it.

 

One more point: the certificate must be issued by a recognised authority for a public website. cPanel reserves self-signed certificates for intranet use and recommends authority-issued ones for any public site where visitors submit sensitive information, such as logins or card details. Browsers show a warning for self-signed certificates, and visitors leave.

 

Which kind of certificate you’re installing

 

The install steps barely change with the certificate type, but the preparation does. Domain-validated certificates (the basic kind) only prove you control the domain, so they’re issued quickly and are the right fit for most small business sites, shops and developer projects. Organisation-validated certificates add a vetted company name and take longer because the authority checks your business. Wildcard certificates cover a domain and all its first-level subdomains (so one certificate for app.example.co.za, mail.example.co.za and so on), which suits startups running several services.


Comparison of three SSL certificate types

Free certificates from automated authorities use the same encryption as paid ones. The difference is validation level and who looks after renewal. They last a short time, around three months, and rely on automatic renewal to keep working. On cPanel that renewal is handled by AutoSSL, covered below. If you want more on matching the certificate to the business, this piece on website security and customer trust is a good companion.

 

Installing on cPanel hosting

 

This is the route most small businesses take, and it takes a few minutes.

 

Option 1: let cPanel install it for you

 

On most cPanel hosting, AutoSSL requests and installs a free domain-validated certificate for each domain on the account and renews it before it expires. No CSR and no uploads are involved. If your site already loads over HTTPS, you may not need to do anything. Open the SSL/TLS Status page in cPanel to see which domains are covered and which have a problem.

 

Option 2: install a purchased certificate manually

 

  1. Log in to cPanel. If you’ve forgotten how, our guide on how to log in to cPanel covers it.

  2. Open SSL/TLS and go to Manage SSL sites (the exact label can differ slightly between cPanel versions).

  3. Make sure the private key is in place first. If you generated the CSR in cPanel, the key is already stored under the Private Keys section.

  4. Choose the domain, then fill in the certificate fields. cPanel lets you browse your saved certificates, use Autofill by Domain, or paste the Certificate (CRT), Private Key (KEY) and optional Certificate Authority Bundle (CABUNDLE) by hand.

  5. Paste the CRT exactly as issued, including the BEGIN and END lines. Paste the CA bundle in its own box and the key in the key box.

  6. Click Install Certificate, then load the site over https:// in a private window.

 

The usual slip is pasting the certificate into the bundle box, or leaving the bundle empty because the field says optional. Treat it as required unless your authority says otherwise. Also note that cPanel and WHM support only TLS 1.2 or later, with TLS 1.2 enabled by default, so very old clients won’t connect, which is what you want in 2026.

 

Once it’s live, our help article on how to check and fix your SSL certificate in cPanel shows how to read the status page and clear the common errors. If you’re building a new site at the same time, the guide to installing WordPress with Softaculous is worth doing before you switch the site to HTTPS, so the install uses your https address from the start.

 

Installing on a Linux VPS: Apache and Nginx

 

On a VPS nobody does the panel work for you, which is the point of having one. You decide where the files live and how the server reads them. Joodle’s Linux VPS plans start from R79.99 per month, and the steps below apply to any Debian, Ubuntu or RHEL-family server.

 

Put the files in the right place

 

Keep the key outside any public web folder, with permissions that only root can read. Conventional locations are /etc/ssl/certs and /etc/ssl/private on Debian and Ubuntu, and /etc/pki/tls/certs and /etc/pki/tls/private on RHEL-family systems. A key sitting in your document root can be downloaded by anyone who guesses the filename, and then the certificate has to be replaced.

 

Apache

 

Enable the SSL module (on Debian or Ubuntu that’s a2enmod ssl), then create or edit the virtual host that listens on port 443. Switch the engine on and reference your three files:

 

<VirtualHost *:443>
    ServerName example.co.za
    SSLEngine on
    SSLCertificateFile /etc/ssl/certs/example.co.za.crt
    SSLCertificateKeyFile /etc/ssl/private/example.co.za.key
    SSLCertificateChainFile /etc/ssl/certs/intermediate.crt
    DocumentRoot /var/www/example
</VirtualHost>

Test the syntax with apachectl configtest, then restart or reload Apache. Newer Apache versions (2.4.8 and later) let you put the chain inside the certificate file instead, in which case the chain directive isn’t needed.

 

Nginx

 

Nginx has one directive for the certificate and none for a separate bundle. You join the two files into a single one, with your own certificate first and the intermediates after it, and point ssl_certificate at the result:

 

cat example.co.za.crt intermediate.crt > example.co.za-chained.crt

Then, in the server block that listens on 443 with ssl, set ssl_certificate to the chained file and ssl_certificate_key to the key. Run nginx -t and reload. InteSys’s installation guide notes that putting the files in the wrong order in the combined file breaks validation on several web servers, so keep your own certificate on top.

 

Using certbot for a free certificate

 

If you’d rather automate it, certbot requests a certificate, edits the web server configuration and sets up renewal. The files end up under /etc/letsencrypt/live/yourdomain/, where fullchain.pem is the certificate plus chain and privkey.pem is the key. Your Apache or Nginx configuration then references those two files. Confirm the renewal timer is active after you install, because a silent renewal failure is how sites end up with an expired certificate three months later.

 

Installing on a Windows VPS (IIS)

 

On Windows Server the certificate is handled in IIS Manager. Start from the server’s name in the left pane and open Server Certificates. Complete the pending request with the file from your authority, which pairs it with the key created when you made the CSR. Then, under your site’s Bindings, add or edit the https binding on port 443 and select the certificate. If the intermediate certificates aren’t present on the server, import them into the Intermediate Certification Authorities store, otherwise some clients will see an incomplete chain.

 

If you’d rather start on a Windows server of your own, Joodle’s Windows VPS starts from R449.99 per month.

 

Check that it works

 

Visiting the site and seeing the padlock is the first test, not the last. Browsers carry a set of trusted root certificates, and many also fetch missing intermediates on their own, so a broken chain can look fine on your laptop. InteSys explains that when the server doesn’t send the intermediate certificates during the TLS handshake, command-line tools, mobile apps and SEO crawlers report the certificate as untrusted. A correct certificate with an incomplete chain is the most common cause of that.

 

A proper check covers four things:

 

  • Open the site over https:// in a private window and also on a phone using mobile data.

  • Run the domain through an online SSL checker and confirm the full chain is served.

  • Run curl -I https://yourdomain.co.za from a server. A certificate error there means a chain problem even if your browser is happy.

  • Confirm the expiry date and whether a renewal process is in place.

 

Then deal with mixed content. If the page still shows a warning after a clean install, it usually loads an image, script or stylesheet over http://. Update those links to https and, once everything loads, redirect all http traffic to https.

 

Common errors and what causes them

 

The key doesn’t match the certificate. You’ve uploaded a key from a different CSR, perhaps from an earlier attempt. The server refuses to start or the panel rejects the form. Find the right key, or generate a new CSR and reissue.

 

The chain is incomplete or in the wrong order. Everything looks right in a desktop browser, but API clients and crawlers fail. Add the intermediates, and on Nginx check that your certificate comes first in the combined file.

 

The certificate name doesn’t match. A certificate for example.co.za doesn’t automatically cover www.example.co.za or a subdomain unless it was issued for it. Check the names listed on the certificate and reissue or switch to a wildcard if you need more.

 

The site still serves the old certificate. You haven’t reloaded the web server, or another virtual host or binding is answering first. Reload, then check which host block matches your server name.

 

Expired certificates. Public certificate lifetimes have been shortening, so renewals come around more often than they used to. Automated renewal is the sensible default, and for paid certificates, put the renewal in a calendar the day you buy.

 

For the wider habits around keeping a server tidy, our guide to server security management in South Africa covers patching, access and monitoring.


Common errors and what causes them

Free or paid: which to install

 

For a typical South African business site, a free domain-validated certificate gives you the same encryption as a paid one, and AutoSSL on cPanel makes it hands-off. Choose a paid certificate when you need your verified company name in the certificate, when you want wildcard coverage across many subdomains, or when your procurement or client contracts ask for it. On a production server, take a backup before you change the configuration so you can roll back in minutes. Joodle’s cloud backup starts from R59.99 per month, and the cPanel backup guide covers website-level backups.

 

Where Joodle fits

 

Joodle’s SSL certificates sit next to cPanel web hosting, domains, business email and VPS plans, with a self-service control panel and 24-hour support, and our infrastructure runs in South African data centres. That means the certificate, the domain and the server can be bought and managed in one place, which is simpler when you’re tracking renewals across several sites.


Joodle

If you don’t want to run the server yourself, our managed IT service starts from R499 per month per user, and the help centre has step-by-step guides for hosting, domains and email.

 

FAQ

 

Where is an SSL certificate installed?

 

It’s installed on the server that answers requests for your domain: in cPanel’s SSL/TLS section for shared hosting, in the Apache or Nginx configuration on a Linux VPS, or in IIS on Windows. The files themselves sit in a certificates folder on that server, and the private key belongs in a protected location only root can read.

 

How do I activate my SSL certificate after installing it?

 

On a web server, activation means enabling HTTPS on port 443 and reloading the service. After that, redirect http:// traffic to https:// and fix any mixed content. On cPanel, installing the certificate against the domain is the activation step, and you then check the status in SSL/TLS Status.

 

Can I install an SSL certificate for free?

 

Yes. On cPanel, AutoSSL can issue and install a free domain-validated certificate for you, and on a VPS certbot does the same. These certificates are short-lived and depend on automatic renewal, so confirm renewal is working after setup.

 

What if I’ve lost my private key?

 

A lost private key can’t be recovered, according to cPanel’s documentation. Generate a new CSR, which creates a new key, and ask your certificate provider to reissue the certificate against it.

 

Sources

 

Recommended

 

We provide IT Companies, Startups, and SMBs with Cloud Hosting Infrastructure, Managed IT Services and much more...

bottom of page