How To Install An SSL Certificate
Here's a streamlined guide with current best practices and clear steps for the four main methods of installing an SSL
Evans
Last Update 7 months ago
openssl req -new -newkey rsa:2048 -nodes \ -keyout server.key -out server.csr
Enter your domain (FQDN), organization details, and country.
2. Order the SSL certificate
Submit the CSR to your chosen CA (e.g., DigiCert, Let's Encrypt).
With Let's Encrypt, you can skip manual steps using Certbot3. Download certificates
Save your CA bundle and primary certificate to your server, ideally under:
/etc/ssl/certs/ /etc/ssl/private/
4. Update Apache config
In your <VirtualHost *:443> block:
SSLEngine on SSLCertificateFile /etc/ssl/certs/your_domain.crt SSLCertificateKeyFile /etc/ssl/private/server.key SSLCertificateChainFile /etc/ssl/certs/intermediate.crt
5. Test & restart Apache
apachectl configtest && systemctl restart apache2
Then verify via https://your-domain.com
Look for the padlock
1. Log in and go to SSL/TLS Manager.
paste in:
- Private key
- Certificate
- CA bundle
3. After getting your certificate:
Paste private key and certificate.
1. Open IIS Manager → Server Certificates → Create Certificate Request.
4. Once issued:
Back in IIS Manager, select Complete Certificate Request.
Run:
iisreset7. Test your site at https://your-domain.com. (replace your-domain.com with your real domain name)
If you're using Linux—especially Ubuntu or Debian—consider using Certbot for auto-generation, installation, and renewal of free SSL certs:
sudo apt update sudo apt install certbot python3-certbot-apache sudo certbot --apache -d your-domain.com -d www.your-domain.com
This both obtains and configures SSL for you, with renewals handled automatically
In Summary
| Method | Best For | SSL Install Process |
| Apache CLI | Full control, no panel | Manual CSR, cert upload, Apache config |
| cPanel | Shared hosting via cPanel | CSR gen, paste certs, AutoSSL option |
| DirectAdmin | Shared hosting via DirectAdmin | CSR gen, paste certs & CA bundle |
| IIS (Windows) | Microsoft-hosted sites | CSR wizard → cert import → binding |
| Let’s Encrypt + Certbot | Auto SSL on Linux servers | One command setup, auto renewal |
