We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48bced2 commit a1d53e0Copy full SHA for a1d53e0
bin/v-add-letsencrypt-user
@@ -41,11 +41,12 @@ fi
41
#----------------------------------------------------------#
42
43
api='https://acme-v01.api.letsencrypt.org'
44
-agreement='https://letsencrypt.org/documents/LE-SA-v1.0.1-July-27-2015.pdf'
45
if [ -z "$email" ]; then
46
email=$(get_user_value '$CONTACT')
47
fi
48
+agreement=$(curl -s -I "$api/terms" |grep Location |cut -f 2 -d \ |tr -d '\r\n')
49
+
50
# Generating key
51
key="$USER_DATA/ssl/user.key"
52
if [ ! -e "$key" ]; then
0 commit comments