Exclusive Metin2 game shield on FreeBSD: Automatic siege mode, VIP list, and whitelist from your dashboard. See how it works
Create a server

Guide

How to Set Up Let’s Encrypt SSL with Certbot

Certbot requests Let’s Encrypt certificates and wires up HTTPS. You need a domain pointing at the VPS IP and ports 80/443 open.

Steps

  1. Install Certbot with your web server plugin (Ubuntu, Nginx example):

    sudo apt update
    sudo apt install -y certbot python3-certbot-nginx
  2. For Apache, install the matching plugin:

    sudo apt install -y certbot python3-certbot-apache
  3. Issue and install the certificate (replace domain and email):

    sudo certbot --nginx -d example.com -d www.example.com --agree-tos -m [email protected] --redirect
  4. Test automatic renewal:

    sudo certbot renew --dry-run

Tips

  • If DNS does not point to the VPS yet, the HTTP-01 challenge will fail.
  • Apache only: sudo certbot --apache -d example.com ….

ext step

HTTPS in minutes on your own server: Deploy your Cloud VPS.

Related guides