๐Ÿ”’SSL Certificatesยท7 min read

SSL Installation Guide

Install your SSL certificate on various web servers and hosting platforms.

If Using NexusHost Hosting

SSL certificates ordered through NexusHost are auto-installed on our hosting instances. No manual steps required!

Download Your Certificate

1.Go to Dashboard โ†’ SSL Certificates
2.Click on your certificate
3.Click "Download" to get the certificate files:
โ€ขcertificate.crt โ€” Your SSL certificate
โ€ขprivate.key โ€” Your private key
โ€ขca-bundle.crt โ€” Certificate Authority chain

Installation on Apache

Edit your Apache virtual host configuration:

<VirtualHost *:443>

ServerName yourdomain.com

SSLEngine on

SSLCertificateFile /path/to/certificate.crt

SSLCertificateKeyFile /path/to/private.key

SSLCertificateChainFile /path/to/ca-bundle.crt

</VirtualHost>

Restart Apache: sudo systemctl restart apache2

Installation on Nginx

Edit your Nginx server block:

server {

listen 443 ssl;

server_name yourdomain.com;

ssl_certificate /path/to/certificate.crt;

ssl_certificate_key /path/to/private.key;

}

Restart Nginx: sudo systemctl restart nginx

Installation on cPanel

1.Login to cPanel
2.Go to Security โ†’ SSL/TLS
3.Click "Manage SSL Sites"
4.Select your domain
5.Paste certificate, private key, and CA bundle
6.Click "Install Certificate"

Installation on Plesk

1.Login to Plesk
2.Go to Websites & Domains โ†’ SSL/TLS
3.Click "Add SSL/TLS Certificate"
4.Upload or paste your certificate files
5.Click "Upload Certificate"

Force HTTPS Redirect

After installing SSL, redirect all HTTP traffic to HTTPS.

Apache (.htaccess):

RewriteEngine On

RewriteCond %{HTTPS} off

RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Nginx:

server {

listen 80;

server_name yourdomain.com;

return 301 https://$server_name$request_uri;

}

Verify Installation

After installation, verify your SSL at:

โ€ขhttps://www.sslshopper.com/ssl-checker.html
โ€ขhttps://www.ssllabs.com/ssltest/
Knowledge Base โ€” NexusHost | NexusHost