Fix regression introduced in 8523874dcec2c4bec0ec5fe7180e6cf4fca9ab9e
authorAndreas Bilke <andreas@bilke.org>
Wed, 13 Jun 2018 04:11:19 +0000 (06:11 +0200)
committerAndreas Bilke <andreas@bilke.org>
Wed, 13 Jun 2018 04:11:19 +0000 (06:11 +0200)
letsencrypt-helper/refresh-acme-certificate
letsencrypt-helper/refresh-acme-certificate-standalone

index 6be2295..dc31531 100755 (executable)
@@ -81,7 +81,7 @@ trap "rm -f $TMP_SIGNED_CERT" EXIT
 ACME_TINY_COMMAND="python $ACME_TINY_PROG --account-key $ACME_ACCOUNT_KEY --csr $CSR --acme-dir $ACME_DIR"
 echo "Starting acme-tiny client"
 su -c "$ACME_TINY_COMMAND" -s /bin/sh letsencrypt > $TMP_SIGNED_CERT
-cp $TMP_SIGNED_CERT "$PUBLIC_KEY_DIR/$DOMAIN.intermediate.pem"
+cp $TMP_SIGNED_CERT "$PUBLIC_KEY_DIR/$DOMAIN.intermediate.pem"
 
 if [ -d "$HOOKS_DIR" ];
 then
index c9585b3..6e1aaa8 100755 (executable)
@@ -98,7 +98,7 @@ trap "rm -f $TMP_SIGNED_CERT" EXIT
 ACME_TINY_COMMAND="python $ACME_TINY_PROG --account-key $ACME_ACCOUNT_KEY --csr $CSR_DIR/$DOMAIN.csr --acme-dir $ACME_DIR"
 echo "Starting acme-tiny client"
 su -c "$ACME_TINY_COMMAND" -s /bin/sh letsencrypt > $TMP_SIGNED_CERT
-cat $TMP_SIGNED_CERT "$PUBLIC_KEY_DIR/$DOMAIN.intermediate.pem"
+cat $TMP_SIGNED_CERT "$PUBLIC_KEY_DIR/$DOMAIN.intermediate.pem"
 
 echo "Kill acme-http-responder"
 kill -TERM `pgrep -u letsencrypt`