Using correct certbot options
This commit is contained in:
parent
e17d4c4a01
commit
b8f1c6dc5b
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue