From 4fa70c44a1ab334780852a46db94d197538e75ed Mon Sep 17 00:00:00 2001 From: RossC Date: Thu, 9 Jul 2020 11:00:29 +0100 Subject: Allowing configuration of truststore password Issue-ID: POLICY-2633 Change-Id: Ic891ab55ded843e44b7998097949c1156c070657 Signed-off-by: RossC --- .../apex-pdp-package-full/src/main/package/scripts/apexApps.bat | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) mode change 100644 => 100755 packages/apex-pdp-package-full/src/main/package/scripts/apexApps.bat (limited to 'packages/apex-pdp-package-full/src/main/package/scripts/apexApps.bat') diff --git a/packages/apex-pdp-package-full/src/main/package/scripts/apexApps.bat b/packages/apex-pdp-package-full/src/main/package/scripts/apexApps.bat old mode 100644 new mode 100755 index 6610c109e..b5a92fd5a --- a/packages/apex-pdp-package-full/src/main/package/scripts/apexApps.bat +++ b/packages/apex-pdp-package-full/src/main/package/scripts/apexApps.bat @@ -32,6 +32,13 @@ @echo off setlocal enableDelayedExpansion +if not defined KEYSTORE_PASSWD ( + set KEYSTORE_PASSWD=Pol1cy_0nap +) + +if not defined TRUSTSTORE_PASSWD ( + set TRUSTSTORE_PASSWD=Pol1cy_0nap +) if defined APEX_HOME ( if exist "%APEX_HOME%\" ( @@ -53,9 +60,7 @@ if defined APEX_HOME ( :: Environment variables for HTTPS set KEYSTORE=%APEX_HOME%/etc/ssl/policy-keystore" -set KEYSTORE_PASSWD="Pol1cy_0nap" set TRUSTSTORE=%APEX_HOME%/etc/ssl/policy-truststore" -set TRUSTSTORE_PASSWD="Pol1cy_0nap" :: HTTPS parameters set HTTPS_PARAMETERS=-Djavax.net.ssl.keyStore=%KEYSTORE% -Djavax.net.ssl.keyStorePassword=%KEYSTORE_PASSWD% -Djavax.net.ssl.trustStore=%TRUSTSTORE% -Djavax.net.ssl.trustStorePassword=%TRUSTSTORE_PASSWD% -- cgit 1.2.3-korg