Replies: 1 comment 4 replies
-
What you should do is the following:
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My organization has a CA that will create certificates (and keys) with DN like this:
Subject: CN=my-name
The issuer looks like this:
Issuer: O=MY_ORG, OU=MY_OU, CN=Kafka SubCA
The docs all talk about adding the CA cert and key. Now, I have the issuer CA certificate, but they are understandably not going to give me their CA cert's key! The kafka cluster shouldn't need the CA cert's key to validate; server certs (web/TLS) are verified the same way as client certs, and they rely on root/intermediate certs without their keys.
I realize that I need to use 'tls-external' as the authentication type in the KafkaUser resource. However, the cluster needs to trust certs created by my org's CA. How can I configure Strimzi to trust certificates created with my organization's CA, if I don't have the CA key?
This comment indicates that a dummy key needs to be created. The secret seems to include a p12 file, which (afaik) will not allow a dummy (non-matching to the cert) key to be included.
This doc request seems to suggest that the docs get updated with the procedure to add an external CA without private key. I'm happy to write the documentation if someone who knows how to do this gives me a hint.
Is there a guide or perhaps someone tells me how to change the Strimzi secrets when I specifically do not have the CA certificate key?
Regards,
Steve
p.s. Perhaps I want to just add my org's CA as a trusted CA to sign certificates with DNs as indicated above? Could I do that easily without changing the internal strimzi ca? That way if I create a user with 'tls' type, I get a cert/key in secrets; but if I say 'tls-external', I need to get a cert from my CA. Both the internal CA and the external/org CA are trusted in this model. How can this be done?
Beta Was this translation helpful? Give feedback.
All reactions