Commit d24e531a authored by Axel Burri's avatar Axel Burri

bugfix: PRIVATE_KEY is now configurable in config.sh, don't alter this...

bugfix: PRIVATE_KEY is now configurable in config.sh, don't alter this variable after set_defaults()
parent 8662a000
......@@ -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}"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment