Install certbot
sudo apt update
sudo apt install certbot python3-certbot-apache -y
sudo apt update
sudo apt install certbot python3-certbot-apache -y
sudo certbot --apache -d example.com
sudo systemctl reload apache2
sudo certbot --apache -d site1.example.com -d site2.example.com
sudo certbot certificates
sudo certbot renew --dry-run