Skip to content

Conversation

@1000TurquoisePogs
Copy link
Member

In this PR, app-server can now load PKCS12 content when provided in zowe.certificate.keystore and zowe.certificate.truststore, or components.app-server.nodeConfig.https[key/cert/certificateAuthorities]

In other words, you no longer need to use either SAF keyring or PEM, now PKCS12 is also possible to use.

To load a PKCS12 object, the server looks for the zowe config parameters zowe.certificate.keystore.password and zowe.certificate.keystore.alias to find key/cert, while using zowe.certificate.truststore.password to find CAs.
These values importantly not part of the app-server's config, but part of the zowe global config.

I have added debug messages for the _zsf.bootstrap logger.
I have removed support of reading of components.app-server.nodeConfig.https.pfx because it was never used - PFX is quite similar to PKCS12 so, just use this new PKCS12 loading in the standard zowe way.

How to test:
Load up zowe with PKCS12 instead of SAF keyring, and put dummy values into the pem section - they wont be loaded. You should still be able to log into the Desktop!

You can't remove the PEM section of the Zowe YAML yet because the schema expects it, but that can be handled in a different PR.

Signed-off-by: 1000TurquoisePogs <[email protected]>
Signed-off-by: 1000TurquoisePogs <[email protected]>
Signed-off-by: 1000TurquoisePogs <[email protected]>
Signed-off-by: 1000TurquoisePogs <[email protected]>
Signed-off-by: 1000TurquoisePogs <[email protected]>
Signed-off-by: 1000TurquoisePogs <[email protected]>
Signed-off-by: 1000TurquoisePogs <[email protected]>
@github-project-automation github-project-automation bot moved this from Ready for Review to Merge Ready in WebUI planning board Apr 7, 2025
Signed-off-by: 1000TurquoisePogs <[email protected]>
@1000TurquoisePogs 1000TurquoisePogs marked this pull request as draft April 15, 2025 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Merge Ready

Development

Successfully merging this pull request may close these issues.

3 participants