LetsEncrypt

From Growth Agency Wiki
Revision as of 09:08, 25 October 2023 by Aaron.trevellick (talk | contribs)
Jump to navigation Jump to search

Let's Encrypt on Ubuntu server with apache

First update the server

sudo apt update
sudo apt upgrade
sudo apt autoremove

Then run these command to install and config certbot

sudo apt install certbot python3-certbot-apache
sudo apache2ctl configtest
sudo systemctl reload apache2
sudo ufw allow 'Apache Full'

sudo certbot --apache

Check auto renewal status

sudo systemctl status certbot.timer