Agree to the certificate authority terms of service. Let' Encrypt wants you doing it once at account creation.
This commit is contained in:
parent
518304449f
commit
928aaa5c37
@ -1441,6 +1441,26 @@ fi
|
||||
# - Invoke the dehydrated script to generate th let's encrypt certificates if
|
||||
# - needed.
|
||||
# -
|
||||
\$verbose && echononl " Register account and agree to their terms of service .."
|
||||
\$dehydrated_script --register --accept-terms > \$_logfile 2>&1
|
||||
ret_val=\$?
|
||||
if [[ \$ret_val -eq 0 ]]; then
|
||||
\$verbose && echo_ok
|
||||
else
|
||||
\$verbose && echo_failed
|
||||
if \$verbose ; then
|
||||
error "Dehydrated Script to register account returns with error (\$ret_val)!"
|
||||
else
|
||||
echo -e "\\n [ Error ]: Dehydrated Script to register account returns with error (\$ret_val)! \\n"
|
||||
fi
|
||||
echo ""
|
||||
echo "Error message from dehydrated script:"
|
||||
echo "====================================="
|
||||
echo ""
|
||||
cat \$_logfile
|
||||
echo ""
|
||||
exit 10
|
||||
fi
|
||||
\$verbose && echononl " Invoking the main dehydrated script for certificate generation.."
|
||||
\$dehydrated_script -c -g > \$_logfile 2>&1
|
||||
ret_val=\$?
|
||||
|
Loading…
Reference in New Issue
Block a user