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

Add support of mTLS in Spring Cloud Config Client #21512

Closed
ishumov opened this issue Nov 17, 2021 · 1 comment · Fixed by #21513
Closed

Add support of mTLS in Spring Cloud Config Client #21512

ishumov opened this issue Nov 17, 2021 · 1 comment · Fixed by #21513
Labels
area/spring Issues relating to the Spring integration kind/bug Something isn't working
Milestone

Comments

@ishumov
Copy link

ishumov commented Nov 17, 2021

Describe the bug

I'd like to use Spring Cloud Config Client to connect to our Spring Cloud Config Server using mTLS. But after providing corresponding truststore.ks an keystore.ks in spring-cloud-config section I figured out that keystore.ks is used as a parameter for webClientOptions.setTrustStoreOptions instead of webClientOptions.setKeyStoreOptions. So no client certs could be sent to server. From my point of view current behavior looks like a bug.

Expected behavior

keystore.ks used as a parameter for webClientOptions.setKeyStoreOptions

Actual behavior

keystore.ks used as a parameter for webClientOptions.setTrustStoreOptions

How to Reproduce?

Setup Spring Cloud Config Client with truststore and keystore and try to connect Spring Cloud Config Server with mTLS enabled. No client certs will be provided.

Output of uname -a or ver

No response

Output of java -version

No response

GraalVM version (if different from Java)

No response

Quarkus version or git rev

2.4.2.Final

Build tool (ie. output of mvnw --version or gradlew --version)

No response

Additional information

No response

@ishumov ishumov added the kind/bug Something isn't working label Nov 17, 2021
@quarkus-bot quarkus-bot bot added the area/spring Issues relating to the Spring integration label Nov 17, 2021
@quarkus-bot
Copy link

quarkus-bot bot commented Nov 17, 2021

/cc @geoand

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/spring Issues relating to the Spring integration kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants