Repository navigation
Update testbed CA and certificates - #1404
Merged
Merged
Conversation
Member
Author
|
@reqa the CI now fails at https://github.com/osism/testbed/blame/main/environments/custom/playbook-keycloak-oidc-client-config.yml , the error in keycloak looks like: Can you please check what might be the issue here? Or maybe give it a test in your own environment? |
Contributor
|
Doesn't seem related to SSL certificates, but something like this between Keycloak and its SQL backend. |
berendt
force-pushed
the
update-testbed-certs
branch
2 times, most recently
from
February 7, 2023 15:37
86a5a1b to
cc4e37e
Compare
This was referenced May 3, 2023
We need to set `subject_alt_name_critical: true` for the manager and wildcard certificates, but not for the CA. Update the ownca doc to mention all the locations that need to be updated when creating new certificates. Closes: #1402 Signed-off-by: Dr. Jens Harbott <[email protected]>
Ok, I've reviewed the commit proposed for #1402 and I think the proposed changes to the following files need to be avoided: * environments/kolla/configuration.yml * a/environments/kolla/files/overlays/keystone/federation/oidc/kD9RIBcPiCOVO8wOM2VbZD5XnpgSkf-tWdSmhurxmJo.pem * b/environments/kolla/files/overlays/keystone/federation/oidc/keycloak-cert.pem The strangely named pem file is 1. not the SSL certificate, but a Keycloak/OIDC specific signing certificate (JWKS) 2. referenced by the parameter OIDCOAuthVerifyCertFiles in wsgi-keycloak.conf Maybe we can and should get rid of that file by making use of OIDCOAuthVerifyJwksUri in wsgi-keycloak.conf but that is an entirely different issue. Signed-off-by: Arvid Requate <[email protected]>
Until now keycloak/cert.crt and the `traefik_certificates` in secrets.yml contained the wildcard certificate. The proposed "Update testbed CA and certificates" commit proposed to change that to use the manager certificate instead and explicitly include "DNS:keycloak.testbed.osism.xyz" as additional subject_alt_name. This commit proposes to continue using the wildcard certificate: There's the related proposal that Keycloak shall be moved away from the manager node to K3S, so maybe we should not attach more manager related strings to Keycloak currently. Signed-off-by: Arvid Requate <[email protected]>
berendt
force-pushed
the
update-testbed-certs
branch
from
June 19, 2023 18:04
fb78bda to
87c6e06
Compare
Signed-off-by: Arvid Requate <[email protected]>
berendt
force-pushed
the
update-testbed-certs
branch
from
June 19, 2023 19:56
87c6e06 to
58985c6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We need to set
subject_alt_name_critical: truefor the manager and wildcard certificates, but not for the CA. Update the ownca doc to mention all the locations that need to be updated when creating new certificates.Closes: #1402
Signed-off-by: Dr. Jens Harbott [email protected]