Skip to content

Commit

Permalink
remove unneeded pem section
Browse files Browse the repository at this point in the history
Signed-off-by: 1000TurquoisePogs <[email protected]>
  • Loading branch information
1000TurquoisePogs authored Oct 26, 2023
1 parent a1ec7f6 commit 3762d2e
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions bin/commands/init/certificate/index.sh
Original file line number Diff line number Diff line change
Expand Up @@ -466,9 +466,6 @@ EOF
update_zowe_yaml "${ZWE_CLI_PARAMETER_CONFIG}" "zowe.certificate.truststore.file" "safkeyring:////${keyring_owner}/${keyring_name}"
# we must set a dummy value here, other JDK will complain wrong parameter
update_zowe_yaml "${ZWE_CLI_PARAMETER_CONFIG}" "zowe.certificate.truststore.password" "password"
update_zowe_yaml "${ZWE_CLI_PARAMETER_CONFIG}" "zowe.certificate.pem.key" ""
update_zowe_yaml "${ZWE_CLI_PARAMETER_CONFIG}" "zowe.certificate.pem.certificate" ""
update_zowe_yaml "${ZWE_CLI_PARAMETER_CONFIG}" "zowe.certificate.pem.certificateAuthorities" "${yaml_pem_cas}"
print_level2_message "Zowe configuration is updated successfully."
else
print_level1_message "Update certificate configuration to ${ZWE_CLI_PARAMETER_CONFIG}"
Expand All @@ -485,10 +482,6 @@ EOF
print_message " type: ${cert_type:-JCERACFKS}"
print_message " file: \"safkeyring:////${keyring_owner}/${keyring_name}\""
print_message " password: \"password\""
print_message " pem:"
print_message " key: \"\""
print_message " certificate: \"\""
print_message " certificateAuthorities: \"${yaml_pem_cas}\""
print_message ""
print_level2_message "Zowe configuration requires manual updates."
fi
Expand Down

0 comments on commit 3762d2e

Please sign in to comment.