Cập nhật
sudo apt update
Cài đặt certbot và plugin tương ứng với webserver đang sử dụng
#Apache:
sudo apt install certbot python3-certbot-apache
#NGINX:
sudo apt install certbot python3-certbot-nginx
Cập nhật snap:
sudo snap install
sudo snap refresh
Cài đặt certbot bằng snap:
sudo snap install --classic certbot
Tạo symlink
sudo ln -s /snap/bin/certbot /usr/bin/certbot
Bật repo EPEL:
sudo dnf install epel-release
Sau đó làm mới repo
sudo dnf clean all
sudo dnf update
Cài đặt certbot và plugin tương ứng với webserver đang sử dụng
#Apache:
sudo dnf install certbot python3-certbot-apache
#NGINX:
sudo dnf install certbot python3-certbot-nginx
Cập nhật snap:
sudo snap install
sudo snap refresh
Cài đặt certbot bằng snap:
sudo snap install --classic certbot
Tạo symlink
sudo ln -s /snap/bin/certbot /usr/bin/certbot