August 07, 2026 · by CLIQHOST
SSL/TLS is no longer optional — it is a baseline requirement for any website or web application. Modern browsers flag HTTP pages as "Not Secure", and Google factors HTTPS into its ranking algorithm. If you're running a SSD VPS and want to secure your traffic, this guide walks you through setting up free SSL/TLS with Let's Encrypt and Certbot — for both Nginx and Apache.
Without HTTPS, data transmitted between your server and visitors — passwords, form submissions, payment details — travels in plain text and can be intercepted. SSL/TLS encrypts this communication and provides:
Beyond security, HTTPS directly improves SEO. If you haven't chosen a hosting plan yet, check out CLIQHOST's NVMe VPS plans — high performance at a competitive price.
Before you begin, make sure:
example.com) points to your VPS IP address via DNS.If you haven't set up a web server yet, visit the CLIQHOST blog for step-by-step guides on installing Nginx and a full LEMP stack.
Certbot is the official Let's Encrypt client that automates certificate issuance and renewal.
sudo apt update
sudo apt install certbot -y
For Nginx:
sudo apt install python3-certbot-nginx -y
For Apache:
sudo apt install python3-certbot-apache -y
sudo dnf install epel-release -y
sudo dnf install certbot python3-certbot-nginx -y
# or for Apache:
sudo dnf install certbot python3-certbot-apache -y
If you're using Nginx, run the following command (replace example.com with your actual domain):
sudo certbot --nginx -d example.com -d www.example.com
Certbot will automatically:
1. Verify domain ownership via the HTTP-01 challenge.
2. Issue the certificate and private key.
3. Modify your Nginx server {} block to enable HTTPS.
4. Set up HTTP → HTTPS redirection.
Certificate files will be stored at:
/etc/letsencrypt/live/example.com/fullchain.pem
/etc/letsencrypt/live/example.com/privkey.pem
sudo nginx -t
sudo systemctl reload nginx
For Apache, the command is similar:
sudo certbot --apache -d example.com -d www.example.com
Certbot will enable the ssl and rewrite modules, create a supplementary config file, and configure automatic redirection. Verify and reload:
sudo apachectl configtest
sudo systemctl reload apache2
Let's Encrypt certificates expire after 90 days. Certbot installs a systemd timer (or cron job) that checks for renewal daily.
Check the timer status:
sudo systemctl status certbot.timer
Test the renewal process without actually issuing a new certificate:
sudo certbot renew --dry-run
A successful run outputs: Congratulations, all simulated renewals succeeded.
For standalone mode (Certbot temporarily runs its own server on port 80):
sudo certbot certonly --standalone -d example.com -d www.example.com
Then manually configure the SSL block in Nginx:
server {
listen 443 ssl;
server_name example.com www.example.com;
ssl_certificate /etc/letsencrypt/live/example.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_ciphers HIGH:!aNULL:!MD5;
root /var/www/example.com;
index index.html index.php;
}
server {
listen 80;
server_name example.com www.example.com;
return 301 https://$host$request_uri;
}
Once configured, test your SSL implementation at SSL Labs. A well-configured server should score at least A.
Factors that affect your score:
- Legacy protocols enabled (TLS 1.0, TLS 1.1) — disable them.
- Weak cipher suites — use only TLSv1.2 and TLSv1.3.
- Missing HSTS (HTTP Strict Transport Security).
Adding HSTS in Nginx:
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
Let's Encrypt is ideal for blogs and small projects. However, for e-commerce stores, financial platforms and enterprise applications, an OV (Organization Validated) or EV (Extended Validation) certificate provides an additional layer of trust.
At CLIQHOST you can purchase commercial SSL certificates from leading certificate authorities, with technical support included.
| Mistake | Solution |
|---|---|
| DNS not pointing to the VPS | Check A/AAAA records before running Certbot |
| Port 80 blocked in firewall | Run sudo ufw allow 80 and sudo ufw allow 443 |
| Certificate expired | Verify certbot.timer and enable auto-renewal |
| Mixed content (HTTP assets on HTTPS page) | Update URLs in CMS or use a migration plugin |
| Redirect loop | Remove duplicate redirects in both server config and CMS |
If you'd rather not manage configurations manually, a managed NVMe VPS with included administration lets you delegate these tasks to the technical team. CLIQHOST's server management service covers SSL certificate installation and renewal, server hardening and continuous monitoring.
For projects that demand maximum reliability, our managed dedicated servers are also available with full SSL management included.
Setting up SSL/TLS on a Linux VPS with Certbot is a straightforward process that can be completed in 10–15 minutes. The time investment is minimal, but the payoff — stronger security, user trust and better SEO — is substantial.
Ready to get started? Explore CLIQHOST's SSD VPS and NVMe VPS plans for a solid, fast foundation. Have questions? Contact our team — we're here to help.
Real reviews from customers who trust CLIQHOST for performance, reliability and expert technical support.
"We moved our online shop from a foreign host and the difference is night and day — pages load instantly and support replies in minutes, in Romanian."
"Migrated 12 client sites to CLIQHOST. Free migration, zero downtime, and the cPanel setup is exactly what my team needed. Highly recommend."
"Our NVMe VPS handles traffic spikes without a sweat. Full root, local datacenter, and billing in MDL — everything we wanted from a provider."