Skip to content

Commit

Permalink
Fix ca name, fix zosmf trust, and shorten retry time to not waste bui…
Browse files Browse the repository at this point in the history
…ld time on failures

Signed-off-by: 1000TurquoisePogs <[email protected]>
  • Loading branch information
1000TurquoisePogs committed Oct 27, 2023
1 parent 3762d2e commit 4f35f31
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions bin/commands/init/certificate/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,6 @@ export function execute() {
let verifyCertificates = zoweConfig.zowe.verifyCertificates ? zoweConfig.zowe.verifyCertificates.toUpperCase() : undefined;
if (verifyCertificates == "STRICT" || verifyCertificates == "NONSTRICT") {
CERT_PARMS.keyring_trust_zosmf="--trust-zosmf";
CERT_PARMS.zosmf_host = std.getenv('zosmf_host');
CERT_PARMS.zosmf_port = std.getenv('zosmf_port');
} else {
delete CERT_PARMS.zosmf_host;
delete CERT_PARMS.zosmf_port;
Expand All @@ -154,10 +152,10 @@ export function execute() {
}
if (certType == "PKCS12") {
if (!CERT_PARMS.pkcs12_caAlias) {
CERT_PARMS.pkcs12_caAlias='localCa';
CERT_PARMS.pkcs12_caAlias='local_ca';
}
if (!CERT_PARMS.pkcs12_caPassword) {
CERT_PARMS.pkcs12_caPassword='localCaPassword';
CERT_PARMS.pkcs12_caPassword='local_ca_password';
}
if (!CERT_PARMS.pkcs12_name) {
CERT_PARMS.pkcs12_name='localhost';
Expand Down
4 changes: 2 additions & 2 deletions playbooks/roles/start/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# ==============================================================================
# Constants
# ==============================================================================
# 240 * 10 seconds = 40 mins
wait_for_zowe_service_retries: 240
# 150 * 10 seconds = 25 mins
wait_for_zowe_service_retries: 150
# Every 10 seconds
wait_for_zowe_service_delay: 10

Expand Down

0 comments on commit 4f35f31

Please sign in to comment.