HostSlim

How do I get a free SSL certificate with Certbot?

Certbot issues free Let's Encrypt certificates and renews them automatically. Make sure your domain's A record points to your server IP. Install Certbot…

  • VPS

Certbot issues free Let's Encrypt certificates and renews them automatically.

  1. Make sure your domain's A record points to your server IP.
  2. Install Certbot (Nginx example on Ubuntu/Debian):
    sudo apt install certbot python3-certbot-nginx
  3. Request the certificate:
    sudo certbot --nginx -d yourdomain.com -d www.yourdomain.com
  4. Test automatic renewal:
    sudo certbot renew --dry-run

For Apache, use python3-certbot-apache and --apache instead. Port 80 must be open in your firewall for the validation to work.

More from the knowledge base

Need something that is not on the list?

Custom builds, private VLANs, BGP sessions, multi-rack deployments. Tell us what you are running and an engineer replies, usually within the hour.