Skip to content

Commit 81998ed

Browse files
committed
[PLAT-4133] FIXUP a script to easily establish trust between two HA nodes
Summary: Script had been using hardcoded values instead of using values from arguments Test Plan: N/A Reviewers: jmak Reviewed By: jmak Subscribers: jenkins-bot, yugaware Differential Revision: https://phabricator.dev.yugabyte.com/D18261
1 parent 2d6233e commit 81998ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

managed/scripts/ha-establish-trust.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ if [ "$1" == "--help" ]; then
2424
print_usage
2525
fi
2626

27-
./set-runtime-config.sh http://localhost:9000 72573d44-1ee6-40ee-85e0-aba82797f5b0 yb.ha.ws "{ssl.trustManager {
27+
./set-runtime-config.sh $1 $2 yb.ha.ws "{ssl.trustManager {
2828
stores += {
2929
type = PEM
3030
data = \"\"\"$(keytool -printcert -sslserver $3 -rfc | tr -d '\r' | tac | awk '/-----END CERTIFICATE-----/{f=1} f; /-----BEGIN CERTIFICATE-----/{exit}' | tac)\"\"\"

0 commit comments

Comments
 (0)