Skip to content

Commit

Permalink
add keystore reference back (#2876)
Browse files Browse the repository at this point in the history
  • Loading branch information
chengjie8 authored and Ponnia-M committed Jul 16, 2024
1 parent f094bd5 commit 1278446
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions svc-bie-kafka/docker-entryprep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ for ENV_VAR in \
fi
done

export KEYSTORE_FILE="$PWD/keystore.p12"
echo "$BIE_KAFKA_KEYSTORE_INBASE64" | base64 -d > "$KEYSTORE_FILE"
echo -e "\nVerifying keystore ($KEYSTORE_FILE) and its password..."
if ! keytool -list -v -keystore "$KEYSTORE_FILE" -storepass "$BIE_KAFKA_KEYSTORE_PASSWORD" | grep "Alias name:"; then
>&2 echo "ERROR: with keystore"
fi

export TRUSTSTORE_FILE="$PWD/truststore.p12"
echo "$BIE_KAFKA_TRUSTSTORE_INBASE64" | base64 -d > "$TRUSTSTORE_FILE"
echo -e "\nVerifying truststore ($TRUSTSTORE_FILE) and its password..."
Expand Down

0 comments on commit 1278446

Please sign in to comment.