Re-use certificates and authentication method from old kafka setup #9040
Replies: 1 comment 1 reply
-
I think you have to split this into two parts. You will certainly be unable to reuse the server certificates. Strimzi would need its own certificates with the right subjects and also the SANs which need to correspond to the DNS names used by Strimzi. However, if you have some CA that signed them, you might be able to reuse that as a custom Cluster CA. Strimzi will use it to issue new server certificates and use them. And on the client side, in the truststore, you would normally have the CA -> which will be the same and therefore it might have no impact on the clients. For the user certificates for the client authentication in the keystores, you might be again able to use your CA which you used to issue them as the custom Clients CA. In that case, the certificates would keep working. But depending on what subjects do the user certificates use, you might not be able to use the User Operator in your Strimzi cluster (it can be easily disabled and you can then manage things such as ACLs yourself). So, to sum it up, you cannot reuse all the certificates, but if you use some CA that can be reused, the impact on the clients might be minimal. But a lot depends on the various details. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We have an old Kafka cluster (2.5.12) which has been not well maintained and we want to use the latest Kafka setup and to start using Strimzi. The migration part we can take care of using the MirrorMaker 2 configurations, thats all tested out.
But one of the condition of this migration is to reuse the certificates from the old Kafka cluster which is using the JKS configuration. I looked through out the documentation and cannot seem to make sense of how to re-use that with Strimzi.
Following is the snippet of the old Kafka configuration :
And the client configuration is :
Just to note that the passwords used here are all different (mentioning since I have seen somewhere it is easier/mandatory to use common password - not sure this is going to be an issue).
@scholzj Would so appreciate if you can take a look here :)) So much thanks in advance <3
Beta Was this translation helpful? Give feedback.
All reactions