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

SSLContextFactory should allow for no key store #1183

Open
freafrea opened this issue Dec 21, 2022 · 2 comments · May be fixed by #1188
Open

SSLContextFactory should allow for no key store #1183

freafrea opened this issue Dec 21, 2022 · 2 comments · May be fixed by #1188

Comments

@freafrea
Copy link

I am using 3.1.4. My spring cloud config server has a self signed cert. I did not want to add its certificate to java trust store, so I wanted to use TlsProperties to provide the trust store. I can't do that without providing the keystore.

Currently the trust store is optional, I think the keystore needs to be optional too, as not always we need to use ssl client verification.

I can made a PR with the change, but I am not sure if removing this requirement in a straightforward way is OK for you.

@ryanjbaxter
Copy link
Contributor

PR is welcome

@freafrea
Copy link
Author

freafrea commented Jan 8, 2023

I've added the PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants