]> git.ipfire.org Git - thirdparty/dehydrated.git/commitdiff
silent registration
authorLukas Schauer <lukas@schauer.so>
Sat, 5 Dec 2015 02:12:31 +0000 (03:12 +0100)
committerLukas Schauer <lukas@schauer.so>
Sat, 5 Dec 2015 02:12:31 +0000 (03:12 +0100)
letsencrypt.sh

index 9deac052bfd261ba75a4e28db082bc8dc2af2f68..5137329553fa2c775900cfb8dd5e83639975e53c 100755 (executable)
@@ -93,7 +93,7 @@ thumbprint="$(echo -n "$(echo -n '{"e":"'"${pubExponent64}"'","kty":"RSA","n":"'
 
 if [ "${register}" = "1" ]; then
   echo "+ Registering account key with letsencrypt..."
-  signed_request "${CA}/acme/new-reg" '{"resource": "new-reg", "agreement": "https://letsencrypt.org/documents/LE-SA-v1.0.1-July-27-2015.pdf"}'
+  signed_request "${CA}/acme/new-reg" '{"resource": "new-reg", "agreement": "https://letsencrypt.org/documents/LE-SA-v1.0.1-July-27-2015.pdf"}' > /dev/null
 fi
 
 cat domains.txt | sed 's/^\s*//g;s/\s*$//g' | grep -v '^#' | grep -v '^$' | while read line; do