zowe / zlux

The top-level superproject for zLUX. zLUX includes the Zowe Desktop framework in addition to several built-in apps and an example server implementation.
Eclipse Public License 2.0
39 stars 42 forks source link

zlux can't load PEM section of zowe.yaml when multiple entries exist #976

Closed 1000TurquoisePogs closed 1 year ago

1000TurquoisePogs commented 1 year ago

Regardless of how multiple entries are specified, such as:

pem:
  certificateAuthorities:
  - entry1
  - entry2
pem:
  certificateAuthorities:
  - entry1,entry2
pem: 
  certificateAuthorities: entry1,entry2

Then it fails. zlux will accidetanlly wrap the CAs in 2 arrays instead of 1, like so:

OK certificateAuthorities: [ ‘/a/user/zowe/keystore-extended/localhost/extca1.cer' ]

Not OK certificateAuthorities: [ [ '/a/user/zowe/keystore-extended/localhost/extca1.cer', '/a/user/zowe/keystore-extended/localhost/extca2.cer' ] ]