aboutsummaryrefslogtreecommitdiffstats
path: root/packages/apex-pdp-package-full/src/main/package/scripts/apexApps.bat
diff options
context:
space:
mode:
Diffstat (limited to 'packages/apex-pdp-package-full/src/main/package/scripts/apexApps.bat')
-rwxr-xr-x[-rw-r--r--]packages/apex-pdp-package-full/src/main/package/scripts/apexApps.bat9
1 files changed, 7 insertions, 2 deletions
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
index 6610c109e..b5a92fd5a 100644..100755
--- 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%