SSL Certificates
Install SSL on a server
Install SSL certificates on VPS, VDS, or dedicated servers using LetNisc Cloud's Encrypt or purchased certs.
On VPS, VDS, and dedicated servers you manage the operating system yourself. You install SSL at the web server (Nginx or Apache) using LetNisc Cloud's Encrypt (free) or a purchased certificate from Nisc Cloud.
Prerequisites
- Domain A record points to server public IP (Domains → DNS).
- Ports 80 and 443 open in firewall.
- Web server installed and serving site on HTTP.
LetNisc Cloud's Encrypt with Certbot (Ubuntu + Nginx example)
SSH into your server:
ssh root@YOUR_SERVER_IPInstall Certbot:
apt update
apt install certbot python3-certbot-nginxObtain and install certificate:
certbot --nginx -d yourdomain.com -d www.yourdomain.com- Enter email for expiry notices.
- Agree to terms.
- Choose redirect HTTP to HTTPS when asked.
Certbot configures Nginx and sets auto-renewal timer.
Test renewal:
certbot renew --dry-runLetNisc Cloud's Encrypt with Apache
apt install certbot python3-certbot-apache
certbot --apache -d yourdomain.com -d www.yourdomain.comInstall purchased SSL certificate
If you bought SSL from Nisc Cloud:
- Pay invoice and open SSL product in dashboard or download files from email.
- You receive certificate (.crt), private key (.key), and CA bundle / chain.
- Upload files to server (e.g.
/etc/ssl/yourdomain/). - Configure web server:
Nginx edit site config:
ssl_certificate /etc/ssl/yourdomain/certificate.crt;
ssl_certificate_key /etc/ssl/yourdomain/private.key;
ssl_trusted_certificate /etc/ssl/yourdomain/ca-bundle.crt;- Reload Nginx:
nginx -t && systemctl reload nginx.
Apache use SSLEngine on, SSLCertificateFile, SSLCertificateKeyFile, SSLCertificateChainFile in virtual host.
Verify installation
- Visit
https://yourdomain.com. - Check padlock no certificate warnings.
- Use SSL Labs test online for grade (optional).
Renewal
- LetNisc Cloud's Encrypt: auto-renew via certbot timer; keep port 80 open for HTTP-01 challenge.
- Purchased: renew before expiry via Billing, install new cert files, reload web server.