Unix::certificat SSL pour https
De wiki_pcwiki2
KEYWORDS: CERTIFICAT, SSL, CERTBOT, HTTPS
Le 28/11/2022:
nowiki
strDomain="voilou.nl"
test -d /var/www/html/${strDomain}
if test $? -ne 0
then
mkdir -p /var/www/html/${strDomain}
fi
certbot certonly --force-renew --webroot -w /var/www/html/${strDomain} -d ${strDomain},www.${strDomain} --post-hook="apache2ctl configtest && service apache2 reload"
<nowiki>