No KYC · KVM in Hong Kong, Tokyo and Singapore at one price · Pay in BTC, USDT, USDC, ETH, SOL, LTC, XMR
Language: English
Build a server

Guide · Debian 13 and Ubuntu 24.04 · checked 16 November 2026

How do you install a free SSL certificate on a VPS?

This is how to install a free SSL certificate on a VPS with certbot and nginx, on Debian 13 or Ubuntu 24.04, with renewal on autopilot.

Last updated: · 4 min read

Quick answer

How do you install a free SSL certificate on a VPS?

To install a free SSL certificate on a VPS, point the domain at the server, open port 80, install certbot, then run sudo certbot --nginx -d example.com. Let's Encrypt issues a 90-day certificate and certbot renews it by timer. On JadeKVM you have root, so the whole setup takes about 5 minutes.

In brief
  • Prerequisites: the A record resolves and port 80 is open in UFW.
  • certbot --nginx gets the certificate and edits the server block.
  • 90-day certificates, renewed by a systemd timer or cron job.
  • Test renewal with certbot renew --dry-run once.

How to install a free SSL certificate on a VPS in 5 steps?

The EFF recommends the snap package of certbot; the apt package is a fine fallback.

  1. Check DNS and ports

    Confirm dig +short example.com returns the server IP and that UFW allows 80 and 443.

  2. Install snapd and certbot

    Run sudo apt install snapd, then sudo snap install --classic certbot.

  3. Link the command

    Run sudo ln -s /snap/bin/certbot /usr/local/bin/certbot.

  4. Request the certificate

    Run sudo certbot --nginx -d example.com -d www.example.com and give an email for expiry notices.

  5. Test renewal

    Run sudo certbot renew --dry-run and check the timer with systemctl list-timers.

Which certbot install method should you use?

Ways to install certbot on Debian 13 and Ubuntu 24.04 and how each one renews
MethodCommandUpdatesRenewal
Snap (EFF's choice)snap install --classic certbotAutomatic through snapdsnap.certbot.renew timer
apt packageapt install certbot python3-certbot-nginxWith system updatescertbot.timer
Docker imagedocker run certbot/certbotPull a new imageYour own cron job

What does certbot change in the nginx config?

It adds a listen 443 ssl block with the certificate paths and, if you agree, a redirect from HTTP to HTTPS. The files live in /etc/letsencrypt/live/example.com/. Certbot backs up nothing, so keep a copy of your config before the first run.

The HTTP-01 check needs port 80 open, even after the redirect. Let's Encrypt calls http://example.com/.well-known/acme-challenge/ to confirm control of the name.

Certbot with nginx (snap)
sudo apt install -y snapd
sudo snap install --classic certbot
sudo ln -s /snap/bin/certbot /usr/local/bin/certbot
sudo certbot --nginx -d example.com -d www.example.com
sudo certbot renew --dry-run
systemctl list-timers | grep -i certbot

Which is the best free SSL certificate for a VPS in 2026?

Let's Encrypt through certbot is the standard choice: free, trusted by browsers and fully automatic. Paid certificates add warranties or organisation checks, not stronger encryption. For a personal or business site on one server, the free one is enough.

Let's Encrypt applies rate limits, such as 50 certificates per registered domain each week. Use --dry-run or the staging server while you experiment.

Why does the free SSL certificate fail to install?

Most failures come from DNS that is not ready, or port 80 blocked. Check the A record from outside with dig. Check sudo ufw status for 80/tcp. An AAAA record that points nowhere also breaks the check, since Let's Encrypt tries IPv6 first.

The guide on how to point a domain to a VPS covers both records. The firewall side is in the UFW guide.

Does HTTPS slow down a site on an Asia VPS?

The TLS handshake adds one round trip with TLS 1.3, so the city matters more than the certificate. JadeKVM read WonderNetwork's public pings on 16 November 2026: Singapore sits 23 ms from Bangkok, while Tokyo sits 80 ms away. Latency figures on JadeKVM pages are public averages measured by WonderNetwork between its own servers on 16 November 2026; they show how far apart the cities sit on the network, not a promise about any one JadeKVM server. A near city keeps that extra trip small. See how to host a website on an Asia VPS for the full table.

Questions about free SSL certificates on a VPS

How long does a free SSL certificate last?

A Let's Encrypt certificate lasts 90 days. Certbot renews it about 30 days before expiry.

Can I get a wildcard certificate for free?

Yes, with the DNS-01 challenge. It needs a DNS plugin or a manual TXT record.

Do I need snap on Debian 13?

No. The apt package python3-certbot-nginx also works. The EFF documents the snap as its main path.

Can I use a free certificate for mail?

Yes, a certificate works for any TLS service. Outbound port 25 is closed on JadeKVM, so send mail through a provider.

Is SSL the same as TLS?

In daily use, yes. SSL is the old name; servers now run TLS 1.2 and 1.3.

Verdict
  • DNS first, port 80 open, then certbot --nginx: a free certificate in minutes.
  • Run one dry-run renewal so the 90-day cycle never surprises you.
Sources (5)
  1. Certbot instructions: nginx on Linux (snap) — EFF (read 2026-11-16)
  2. How It Works — Let's Encrypt (read 2026-11-16)
  3. Challenge Types — Let's Encrypt (read 2026-11-16)
  4. Rate Limits — Let's Encrypt (read 2026-11-16)
  5. WonderNetwork: pings from Singapore wondernetwork.com/pings/Singapore — WonderNetwork (read 2026-11-16)

Serve HTTPS from Hong Kong, Tokyo or Singapore

One price in every city. Pendant costs $4.50 a month on 12 months.

From $3.75/mo on 12 months · HK · TYO · SIN

Build