ubuntu install certbot code example
Example 1: ubuntu install certbot
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
Example 2: certbot apache install
sudo apt install python3-certbot-apache
Example 3: apt-get install certbot
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