xxxxxxxxxx
sudo apt-get update
sudo apt-get install software-properties-common
sudo apt-get install certbot
sudo apt-get install python-certbot-apache
# apache config
sudo certbot --apache
sudo certbot --apache -d your_domain -d www.your_domain
xxxxxxxxxx
#install certbot
sudo apt update
sudo apt install certbot
sudo apt install python3-certbot-apache # for apache
sudo apt install python3-certbot-nginx # for nginx
# Get certificate
sudo certbot --nginx --domain yourdomain.com # for nginx
sudo certbot --apache --domain yourdomain.com # for apache
Certbot Ubuntu
xxxxxxxxxx
sudo apt install software-properties-common
sudo add-apt-repository ppa:certbot/certbot
sudo apt-get install certbot -y
sudo certbot certonly --standalone --preferred-challenges http --agree-tos --email your-email-address -d test.example.com
xxxxxxxxxx
sudo apt-get update
sudo apt-get install software-properties-common
sudo apt-get install certbot
sudo apt-get install python-certbot-apache
# apache config
sudo certbot --apache
xxxxxxxxxx
sudo apt update
sudo apt install python3 python3-venv libaugeas0
sudo python3 -m venv /opt/certbot/
sudo /opt/certbot/bin/pip install --upgrade pip
sudo /opt/certbot/bin/pip install certbot certbot-apache
sudo /opt/certbot/bin/pip install certbot certbot-nginx
sudo ln -s /opt/certbot/bin/certbot /usr/bin/certbot