Skip to content

Commit

Permalink
fix: respect ssl strictness in enabler (#3813)
Browse files Browse the repository at this point in the history
Signed-off-by: ac892247 <[email protected]>
  • Loading branch information
achmelo authored Oct 4, 2024
1 parent 476c69b commit bc55168
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ private EurekaClient initializeEurekaClient(

AbstractDiscoveryClientOptionalArgs<?> args = new Jersey3DiscoveryClientOptionalArgs();
args.setSSLContext(factory.getSslContext());
args.setHostnameVerifier(factory.getHostnameVerifier());
TransportClientFactories<?> transportClientFactories = Jersey3TransportClientFactories.getInstance();
applicationInfoManager.setInstanceStatus(InstanceInfo.InstanceStatus.UP);
return this.eurekaClientProvider.client(applicationInfoManager, clientConfig, transportClientFactories, args);
Expand Down

0 comments on commit bc55168

Please sign in to comment.