Using correct certbot options

This commit is contained in:
Alarig Le Lay 2024-11-09 18:18:26 +01:00
parent e17d4c4a01
commit b8f1c6dc5b
No known key found for this signature in database
GPG key ID: 948D6BC249D8EBFF

View file

@ -26,11 +26,11 @@ else
certbot certonly \
--csr $base_dir/${fqdn}.csr \
--cert-path $base_dir/${fqdn}.crt \
--chain-path $base_dir/${fqdn}-chained.crt \
--chain-path $base_dir/${fqdn}-chain.crt \
--fullchain-path $base_dir/${fqdn}-chained.crt \
--webroot \
-w /var/www/le-challenges/ \
--agree-tos \
--register-unsafely-without-email || die "Error while signing certificate"
mv 0000_chain.pem $base_dir/${fqdn}-chained.crt
rc-service ${service} reload
fi