]> git.ipfire.org Git - thirdparty/dehydrated.git/commitdiff
bugfix: PRIVATE_KEY is now configurable in config.sh, don't alter this variable after... 44/head
authorAxel Burri <axel@tty0.ch>
Mon, 14 Dec 2015 17:08:52 +0000 (18:08 +0100)
committerAxel Burri <axel@tty0.ch>
Mon, 14 Dec 2015 17:10:05 +0000 (18:10 +0100)
letsencrypt.sh

index 42c578c423412915fb1d719c441e722d67cfc9a2..3054ed82a57a5069ff03d848e34b36c67e39491a 100755 (executable)
@@ -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}"