forked from brielle/lets-encrypt-scripts
Update to v2 server
parent
40f71b3579
commit
03416fb75a
|
@ -97,7 +97,7 @@ done
|
||||||
|
|
||||||
|
|
||||||
${LEBINARY} ${email} \
|
${LEBINARY} ${email} \
|
||||||
--server https://acme-v01.api.letsencrypt.org/directory \
|
--server https://acme-v02.api.letsencrypt.org/directory \
|
||||||
--agree-tos \
|
--agree-tos \
|
||||||
--renew-by-default \
|
--renew-by-default \
|
||||||
${AUTH} \
|
${AUTH} \
|
||||||
|
|
|
@ -105,7 +105,7 @@ fi
|
||||||
|
|
||||||
if [[ ${onlyinsert} != "yes" ]]; then
|
if [[ ${onlyinsert} != "yes" ]]; then
|
||||||
echo "Firing up standalone authenticator on TCP port 80 and requesting cert..."
|
echo "Firing up standalone authenticator on TCP port 80 and requesting cert..."
|
||||||
${LEBINARY} --server https://acme-v01.api.letsencrypt.org/directory \
|
${LEBINARY} --server https://acme-v02.api.letsencrypt.org/directory \
|
||||||
--agree-tos --standalone --preferred-challenges http ${LEOPTIONS}
|
--agree-tos --standalone --preferred-challenges http ${LEOPTIONS}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue