From: Axel Burri Date: Mon, 14 Dec 2015 17:08:52 +0000 (+0100) Subject: bugfix: PRIVATE_KEY is now configurable in config.sh, don't alter this variable after... X-Git-Tag: v0.1.0~125^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F44%2Fhead;p=thirdparty%2Fdehydrated.git bugfix: PRIVATE_KEY is now configurable in config.sh, don't alter this variable after set_defaults() --- diff --git a/letsencrypt.sh b/letsencrypt.sh index 42c578c..3054ed8 100755 --- a/letsencrypt.sh +++ b/letsencrypt.sh @@ -119,7 +119,6 @@ init_system() { fi else # Check if private account key exists, if it doesn't exist yet generate a new one (rsa key) - PRIVATE_KEY="${BASEDIR}/private_key.pem" if [[ ! -e "${PRIVATE_KEY}" ]]; then echo "+ Generating account key..." _openssl genrsa -out "${PRIVATE_KEY}" "${KEYSIZE}"