Repository navigation
|
I've created a reencrypt using the following configuration apiVersion: route.openshift.io/v1
kind: Route
metadata:
name: keycloak-route-route
annotations:
haproxy.router.openshift.io/balance: roundrobin
haproxy.router.openshift.io/disable_cookies: "true"
spec:
host: keycloak.apps.okd-test.com
to:
kind: Service
name: keycloak-service
port:
targetPort: https
tls:
termination: reencrypt
certificate: configured-certificate
key: certificate-key
caCertificate: ca-certificate
destinationCACertificate: ca-certificateWhich should result in the same as following the instructions added in the following PR #36809 All that I'm presented with when I try to access keycloak is the standard openshift/okd error page that the service isn't running. I've double checked that the route and service is to my knowledge configured correctly, and checked that the router in OKD say's if the route is available. Is there any sugestion on what I might have missconfigured here or is this a bug in either keycloak or OKD that needs to be reported? |
Answered by
oyviaase
May 5, 2025
Replies: 1 comment 12 replies
|
Can you provide what is shown in the Route and Keycloak status fields? |
12 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The problem was that I didn't include the full ca chain including the root from our certificate authority. I've been taught to not include the root when creating the CA chain, since most software uses the root store on the computer, or in the container it's running on.
I do not have any good sugestions on how to update the re-encrypt documentation for keycloak to include that the
destinationCACertificatechain needs to include the root, and that it in that regards should be different from thecaCertificatefield.