Using correct certbot options
This commit is contained in:
parent
e17d4c4a01
commit
b8f1c6dc5b
|
@ -26,11 +26,11 @@ else
|
||||||
certbot certonly \
|
certbot certonly \
|
||||||
--csr $base_dir/${fqdn}.csr \
|
--csr $base_dir/${fqdn}.csr \
|
||||||
--cert-path $base_dir/${fqdn}.crt \
|
--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 \
|
--webroot \
|
||||||
-w /var/www/le-challenges/ \
|
-w /var/www/le-challenges/ \
|
||||||
--agree-tos \
|
--agree-tos \
|
||||||
--register-unsafely-without-email || die "Error while signing certificate"
|
--register-unsafely-without-email || die "Error while signing certificate"
|
||||||
mv 0000_chain.pem $base_dir/${fqdn}-chained.crt
|
|
||||||
rc-service ${service} reload
|
rc-service ${service} reload
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue