Skip to content

Commit

Permalink
Update defaults logic for multi-pem
Browse files Browse the repository at this point in the history
Signed-off-by: 1000TurquoisePogs <[email protected]>
  • Loading branch information
1000TurquoisePogs authored Jul 14, 2023
1 parent db08e23 commit 50290a7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion defaults/serverConfig/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,11 @@ components:
if (zowe.certificate?.truststore?.type == "JCERACFKS") {
return [ zowe.certificate.truststore.file ];
} else if(zowe.certificate?.pem?.certificateAuthorities) {
return [zowe.certificate.pem.certificateAuthorities];
if (Array.isArray(zowe.certificate.pem.certificateAuthorities)) {
return zowe.certificate.pem.certificateAuthorities;
} else {
return zowe.certificate.pem.certificateAuthorities.split(',');
}
} else { return ["../defaults/serverConfig/apiml-localca.cer"]; } };
a() }}'
loopbackAddress: "${{ function a(){ if (process.env.ZOWE_LOOPBACK_ADDRESS) { return process.env.ZOWE_LOOPBACK_ADDRESS; } else { return undefined; } }; a() }}"
Expand Down

0 comments on commit 50290a7

Please sign in to comment.