-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Jersey3DiscoveryClientOptionalArgs may be configured with TlsProperties in EurekaServerAutoConfiguration.java #4268
Comments
The following class trys to do this , but it takes no effect currently. It seems that |
Hi @limo520, thanks for reporting the issue. Please provide a minimal, complete, verifiable example that reproduces the issue. |
@OlgaMaciaszek there is an example, https://github.com/limo520/spring-cloud-netflix-issues-4268 |
Thanks, @limo520; so if I understand correctly, the scenario is to use TLS with the JerseyClient provided by EurekaServer for intra-peer EurekaServer communication, yes? And the Eureka Server's |
@OlgaMaciaszek Yes, you are right. And when I wrote the example, I find another similar issue which can be reproduced by removing |
When SSL for EurekaServer is enabled, I have to define my own
jersey3DiscoveryClientOptionalArgs
bean. It seems we can do this by default, asDiscoveryClientOptionalArgsConfiguration.java
does.DiscoveryClientOptionalArgsConfiguration.java
is a part ofspring-cloud-netflix-eureka-client
, which is one dependency ofspring-cloud-netflix-eureka-server
. And it has already defined aTlsProperties
bean too.The text was updated successfully, but these errors were encountered: