-
Notifications
You must be signed in to change notification settings - Fork 191
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
Improve keystore generation #5967
Comments
The feature for generating the certificates could be created in a general way, so other modules can re-use it |
One way of general solution might be adopting the Quarkus way by using https://github.com/cescoffier/certificate-generator |
Yeah, I saw that project mentioned on Quarkus Zulip some time ago and wondered whether we could start using it. If possible, I think it'd be good to try and use a single tool for cert generation in the project. Currently we've got a mix of shell scripts, maven plugins etc which becomes a bit of a maintenance pain. |
Indeed https://github.com/cescoffier/certificate-generator would be great to replace them all. I did not know it exist, thanks for the pointer. IIRC, we were forced to use openssl for writing PKCS12 stores, because Java's |
With one of the recent java updates (I'm not sure which concrete build it was), certificates generated by the java keystore work in FIPS environment. (I noticed it several weeks ago) Therefore the certificate-generator project should cover all our needs. I'm currently trying to solve FIPS for kafka tests and I'm using the certificate-generator, which seems to be easily usable. Once I'm sure that all works, I'll ping you on the PR to discuss whether we want to use such approach on the whole project. |
I tried generator-projext in kafka and all looks good. |
I found, that the certificate generator project won't be usable in a more complex use-cases (like cxf-soap) My conclusion at this moment is, that we can use the certificate-generator approach in easier cases. (the complex ones would stay the same). Now I plan to go through the project and find places where the usage should be possible. I think that the refactor to certificate generator approach is still worth the try, as it will make all simple certificates generation even simple and clearer for developers. |
Describe the feature here
Http-grouped: It should be possible to generate keystore and truststore during build. (if not disabled)
The text was updated successfully, but these errors were encountered: