File tree Expand file tree Collapse file tree 2 files changed +18
-6
lines changed
Expand file tree Collapse file tree 2 files changed +18
-6
lines changed Original file line number Diff line number Diff line change 55#
66# Generate new certs, import them, list keystore contents and disable the HTTP port.
77#
8- # Version: 0.5
8+ # Version: 0.6
99#
1010# --------------------------------------------------------------------------------------------------
1111
@@ -27,6 +27,12 @@ KEYTOOL_HOME=$CONTROLLER_HOME/jre/bin
2727KEYTOOL=$KEYTOOL_HOME /keytool
2828KEYSTORE_BACKUP=" ./$KEYSTORE_NAME -$DATETIME .bak"
2929
30+ # For localhost, manual testing
31+ # CONFIG_HOME=$CONTROLLER_HOME
32+ # KEYTOOL_HOME=$CONTROLLER_HOME
33+ # KEYTOOL=keytool
34+ # CONTROLLER_HOME=.
35+
3036# 1
3137generate-csr ()
3238{
@@ -92,8 +98,8 @@ import-signed-cert()
9298 exit
9399 fi
94100
95- echo " Importing $cert into $KEYSTORE_PATH for alias $alias "
96- $KEYTOOL -import -trustcacerts -alias $SIGNED_CERT_ALIAS_NAME -keystore $KEYSTORE_PATH -storepass $KEYSTORE_PASSWORD -file $cert
101+ echo " Importing $cert into $KEYSTORE_PATH for alias $SIGNED_CERT_ALIAS_NAME "
102+ $KEYTOOL -import -trustcacerts -keystore $KEYSTORE_PATH -file $cert -alias $SIGNED_CERT_ALIAS_NAME -storepass $KEYSTORE_PASSWORD
97103
98104 if [ $? -gt 0 ] ; then
99105 echo " ERROR: unable to import the certificate"
Original file line number Diff line number Diff line change 55#
66# Generate new certs, import them, and list keystore contents.
77#
8- # Version: 0.5
8+ # Version: 0.6
99#
1010# --------------------------------------------------------------------------------------------------
1111
@@ -27,6 +27,12 @@ KEYTOOL_HOME=$EUM_HOME/jre/bin
2727KEYTOOL=$KEYTOOL_HOME /keytool
2828KEYSTORE_BACKUP=" ./$KEYSTORE_NAME -$DATETIME .bak"
2929
30+ # For localhost, manual testing
31+ # CONFIG_HOME=$CONTROLLER_HOME
32+ # KEYTOOL_HOME=$CONTROLLER_HOME
33+ # KEYTOOL=keytool
34+ # CONTROLLER_HOME=.
35+
3036# 1
3137generate-csr ()
3238{
@@ -81,8 +87,8 @@ import-signed-cert()
8187 exit
8288 fi
8389
84- echo " Importing $cert into $KEYSTORE_PATH for alias $alias "
85- $KEYTOOL -import -trustcacerts -keystore $KEYSTORE_PATH -file $cert -alias $SIGNED_CERT_ALIAS_NAME -storepass $KEYSTORE_PASSWORD
90+ echo " Importing $cert into $KEYSTORE_PATH for alias $SIGNED_CERT_ALIAS_NAME "
91+ $KEYTOOL -import -trustcacerts -keystore $KEYSTORE_PATH -file $cert -alias $SIGNED_CERT_ALIAS_NAME -storepass $KEYSTORE_PASSWORD
8692
8793 if [ $? -gt 0 ] ; then
8894 echo " ERROR: unable to import the certificate"
You can’t perform that action at this time.
0 commit comments