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

Example for ssl transport? #565

Open
yuecelm opened this issue Jun 27, 2024 · 1 comment
Open

Example for ssl transport? #565

yuecelm opened this issue Jun 27, 2024 · 1 comment

Comments

@yuecelm
Copy link
Contributor

yuecelm commented Jun 27, 2024

Issue description

I know how to enable the ssl protocol with connection-string "ssl://..." but its completely unclear for me how to include the key and trust store. Is there a solution without touching the source code?

@yuecelm
Copy link
Contributor Author

yuecelm commented Jul 10, 2024

ok, the only way I found as far was with the JVM parameters "-Djavax.net.ssl.keyStore" and "-Djavax.net.ssl.trustStore". MICRONAUT_SSL_KEY_STORE_PATH, MICRONAUT_SSL_TRUST_STORE_PATH, and MICRONAUT_SERVER_SSL_TRUST_STORE_PATH were not working at all (also tried with "file:/" prefixed and without). Is there really no way to configure the key and trust store over environment variables?

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