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

secrets created with Java 16 not valid #16

Open
rohits-dev opened this issue Aug 5, 2021 · 0 comments
Open

secrets created with Java 16 not valid #16

rohits-dev opened this issue Aug 5, 2021 · 0 comments

Comments

@rohits-dev
Copy link
Member

rohits-dev commented Aug 5, 2021

While following the lab, for creating secure cluster I found that if java 16 is default java version or active version then keystore.jks created with it are incompatible with kafka broker. to workaround the script should use legacy switch
-J-Dkeystore.pkcs12.legacy in keytool create key command as OpenJDK16 has improved to use more secure algorithm by default which are not supported in Java 8 and 11.
This stackoverflow question helped me identify the issue on my machine. of course when I set jdk 11 as active version it is not a problem.

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

1 participant