install certbot apache 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 site

sudo certbot --apache -d your_domain -d www.your_domain

Example 3: certbot configure

certbot certonly --webroot -w /var/www/html -d www.theflock.de -d theflock.de

Example 4: certbot install apache

sudo apt install certbot python3-certbot-apache

Tags:

Misc Example