certbot uses Python3

This commit is contained in:
OJ Random 2024-08-20 16:46:38 +02:00
parent 7363d1f18d
commit db9521b339

View file

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