certbot uses Python3

This commit is contained in:
OJ Random 2024-08-20 16:46:38 +02:00 committed by Mike Macgirvin
parent 9ebf33da0f
commit 68484d0dfa

View file

@ -383,7 +383,7 @@ function install_letsencrypt {
then
die "Failed to install let's encrypt: 'le_email' is empty in $configfile"
fi
nocheck_install "certbot python-certbot-apache"
nocheck_install "certbot python3-certbot-apache"
print_info "run certbot ..."
certbot --apache -w $install_path -d $le_domain -m $le_email --agree-tos --non-interactive --redirect --hsts --uir
systemctl restart apache2