Update lib/prerequisites.sh

Co-authored-by: Jan <59206115+Threated@users.noreply.github.com>
This commit is contained in:
Pierre Delpy 2024-10-02 07:40:47 +02:00 committed by GitHub
parent aab09465fc
commit 3bc0d88b79
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ if [ "${PROJECT}" != "minimal" ]; then
fi
fi
checkPrivKey() {
if [ -e "${CONFIG_DIR}"pki/"${SITE_ID}".priv.pem ]; then
if [ -e "${CONFIG_DIR}pki/${SITE_ID}.priv.pem" ]; then
log INFO "Success - private key found."
else
log ERROR "Unable to find private key at ${CONFIG_DIR}pki/${SITE_ID}.priv.pem. To fix, please run\n bridgehead enroll ${PROJECT}\nand follow the instructions."