From: sblimkie Date: Fri, 17 Nov 2017 19:37:55 +0000 (+0200) Subject: Remove hardcoded keystore password X-Git-Tag: 2.0.0-ONAP~52^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=aai%2Fgizmo.git;a=commitdiff_plain;h=9d00999a9e01b3fdc7c9c47215418498cd399496 Remove hardcoded keystore password There was a hardcoded keystore password which needed to be removed. Change-Id: I6f567e95ff70a0b4fbc309b2f0bcd708d9695758 IssueID: AAI-482 Signed-off-by: sblimkie --- diff --git a/bundleconfig-local/etc/sysprops/sys-props.properties b/bundleconfig-local/etc/sysprops/sys-props.properties index b816a44..a55e6ea 100644 --- a/bundleconfig-local/etc/sysprops/sys-props.properties +++ b/bundleconfig-local/etc/sysprops/sys-props.properties @@ -113,6 +113,4 @@ RESTLET_COMPONENT_REUSE_ADDRESS=true #End of AJSC System Properties #Service System Properties. Please, place any Service related System Properties below. -KEY_STORE_PASSWORD=OBF:1i9a1u2a1unz1lr61wn51wn11lss1unz1u301i6o -KEY_MANAGER_PASSWORD=OBF:1i9a1u2a1unz1lr61wn51wn11lss1unz1u301i6o diff --git a/src/main/bin/start.sh b/src/main/bin/start.sh index 003852f..aa1f6b3 100644 --- a/src/main/bin/start.sh +++ b/src/main/bin/start.sh @@ -13,14 +13,14 @@ if [ -z "$KEY_STORE_PASSWORD" ]; then echo "KEY_STORE_PASSWORD must be set in order to start up process" exit 1 else - echo -e "KEY_STORE_PASSWORD=$KEY_STORE_PASSWORD\n" >> $AJSC_CONF_HOME/etc/sysprops/sys-props.properties + echo "KEY_STORE_PASSWORD=$KEY_STORE_PASSWORD\n" >> $AJSC_CONF_HOME/etc/sysprops/sys-props.properties fi if [ -z "$KEY_MANAGER_PASSWORD" ]; then echo "KEY_MANAGER_PASSWORD must be set in order to start up process" exit 1 else - echo -e "KEY_MANAGER_PASSWORD=$KEY_MANAGER_PASSWORD\n" >> $AJSC_CONF_HOME/etc/sysprops/sys-props.properties + echo "KEY_MANAGER_PASSWORD=$KEY_MANAGER_PASSWORD\n" >> $AJSC_CONF_HOME/etc/sysprops/sys-props.properties fi # Add any spring bean configuration files to the Gizmo deployment