Fixing the condition for embedded cache MTLS encryption
Closes #28750 Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
This commit is contained in:
parent
9d0b1ecee4
commit
071032a108
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ public class CacheManagerFactory {
|
||||||
transportConfig.defaultTransport().stack(transportStack);
|
transportConfig.defaultTransport().stack(transportStack);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Configuration.isTrue(CachingOptions.CACHE_REMOTE_TLS_ENABLED)) {
|
if (Configuration.isTrue(CachingOptions.CACHE_EMBEDDED_MTLS_ENABLED_PROPERTY)) {
|
||||||
validateTlsAvailable(transportConfig.build());
|
validateTlsAvailable(transportConfig.build());
|
||||||
var tls = new TLS()
|
var tls = new TLS()
|
||||||
.enabled(true)
|
.enabled(true)
|
||||||
|
|
Loading…
Reference in a new issue