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

regarding storing CA bundle in a secret to populate route certificates in openshift #169

Open
vishalpoonacha opened this issue Feb 26, 2024 · 3 comments

Comments

@vishalpoonacha
Copy link

so as mentioned in the readme file two annotations can point to different secrets to populate route certs.
one secret would contain the cert and the private key with annotations
cert-utils-operator.redhat-cop.io/certs-from-secret: ""
and another secret would contain only the CA bundle with annotation
cert-utils-operator.redhat-cop.io/destinationCA-from-secret: "" .

so the second tls secret should also contain the private key along with ca bundle or only the latter is enough?

@raffaelespazzoli
Copy link
Contributor

the first annotation contains the cert that is presented by the route to the consumer.
When the route is of type reencrypt, and TLS connection is open from the router to the destination pod. The second secret contains the CA used to trust the certificate presented by the pod.

@vishalpoonacha
Copy link
Author

and what if the route type is edge, can the tls.cert , tls.key and the ca.cert be stored in a single secret to populate the route certificates?
or the ca.cert be stored in a diffferent tls secret than the tls.cert and tls.key ?
the CA bundle is a third party

@vishalpoonacha
Copy link
Author

vishalpoonacha commented Feb 26, 2024

how to use this operator to populate the route certificates in openshift if their is a third party ca bundle along with the cert and the private key for an edge route?

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

No branches or pull requests

2 participants