certbot install certificate code example

Example 1: certbot apache site

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

Example 2: 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 3: certbot configure

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

Example 4: use certbot to generate certificate

# certbot certonly --standalone -d myminio.com --staple-ocsp -m [email protected] --agree-tos

Tags:

Misc Example