mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-03-31 06:03:04 +02:00
bugfix: PRIVATE_KEY is now configurable in config.sh, don't alter this variable after set_defaults()
This commit is contained in:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user