Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyring vs USS keystore separation #1654

Merged
merged 24 commits into from
Sep 24, 2020
Merged

Conversation

stevenhorsman
Copy link
Member

@stevenhorsman stevenhorsman commented Sep 14, 2020

PR type

  • Update user experience of using keyring vs USS keystores to make it clearer and easier

Relevant issues

Implements #1603

Changes proposed in this PR

  • Add a new zowe-setup-keyring-certificates.env with the new parameters
  • Tidy up the existing zowe-setup-certificates.env to remove the comments on the overloaded parameters
  • Update zowe-setup-certificates.sh to be compatible with KEYSTORE_ALIAS being used for ZOWE_CERTIFICATE_LABEL
  • Update tests

Is there a related doc issue or Pull Request?

Doc issue number: zowe/docs-site#1421

Signed-off-by: stevenhorsman <steven@uk.ibm.com>
Signed-off-by: stevenhorsman <steven@uk.ibm.com>
Signed-off-by: stevenhorsman <steven@uk.ibm.com>
…1603

Signed-off-by: stevenhorsman <steven@uk.ibm.com>
Signed-off-by: stevenhorsman <steven@uk.ibm.com>
Signed-off-by: stevenhorsman <steven@uk.ibm.com>
Signed-off-by: stevenhorsman <steven@uk.ibm.com>
Signed-off-by: stevenhorsman <steven@uk.ibm.com>
Signed-off-by: stevenhorsman <steven@uk.ibm.com>
Signed-off-by: stevenhorsman <steven@uk.ibm.com>
Signed-off-by: stevenhorsman <steven@uk.ibm.com>
Signed-off-by: stevenhorsman <steven@uk.ibm.com>
Signed-off-by: stevenhorsman <steven@uk.ibm.com>
@stevenhorsman stevenhorsman marked this pull request as draft September 15, 2020 11:24
Signed-off-by: stevenhorsman <steven@uk.ibm.com>
@stevenhorsman stevenhorsman marked this pull request as ready for review September 16, 2020 13:23
@stevenhorsman
Copy link
Member Author

@vit-tomica @Joe-Winchester - I think I've captured what we discussed about separating the setup-certificate.env files to help the usability, so can you take a look at this PR and see what you think please?

@vit-tomica
Copy link
Contributor

This is much better. Cert configuration will be much clearer now.

@vit-tomica vit-tomica self-requested a review September 16, 2020 16:15
bin/zowe-setup-keyring-certificates.env Outdated Show resolved Hide resolved
# Location for generated certificates and/or JWT token
KEYSTORE_DIRECTORY=/global/zowe/keystore
# This variable has to be set to the Zowe certificate's LABEL specified in the JCL.
ZOWE_CERTIFICATE_LABEL=localhost
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In ZWEKRING JCL the parm is SET LOCALCA='localca'
Should the ZOWE_CERTIFICATE_LABEL= match this so the default here should be
ZOWE_CERTIFICATE_LABEL=localca ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand - the JCL has SET LABEL='localhost', so does match?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yes - my bad. LABEL='localhost' and I was confusing it with LOCALCA='localca'. Looking at the ZWEKRING results the certificate is localhost and the CA is localca so that all matches. Tks for the clarification

image

Signed-off-by: stevenhorsman <steven@uk.ibm.com>
@stevenhorsman stevenhorsman merged commit 0a5aec8 into staging Sep 24, 2020
@stevenhorsman stevenhorsman deleted the users/stevenh/zip-1603 branch September 24, 2020 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants