Let’s Encrypt Apache on Raspberry Pi

To install let’s encrypt using “Apache on PIP

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 ln -s /opt/certbot/bin/certbot /usr/bin/certbot

Next command will ask for:

— e-mail
— space or comma separated domain names
— config file (e.g. 000-default-le-ssl.conf)

sudo certbot --apache

You can check renewal:

sudo certbot renew --dry-run

Leave a Reply

Your email address will not be published.