@@ -805,7 +805,6 @@ quarkus.infinispan-client.cache.books.near-cache-mode=INVALIDATED <1>
805
805
quarkus.infinispan-client.cache.books.near-cache-max-entries=200 <2>
806
806
quarkus.infinispan-client.cache.books.near-cache-use-bloom-filter=true <3>
807
807
----
808
-
809
808
<1> Enables near caching for the 'books' cache by setting the mode to `INVALIDATED`
810
809
<2> Sets the maximum number of entries that the near cache of the 'books' cache can hold before eviction occurs
811
810
<3> Enables bloom filter for the 'books' cache
@@ -824,12 +823,31 @@ They cannot be used with unbounded near cache: maximum number of entries must be
824
823
825
824
Encryption at this point requires additional steps to get working.
826
825
827
- The first step is to configure the `hotrod-client .properties` file to point to your truststore
826
+ The first step is to configure the `application .properties` file to point to your truststore
828
827
and/or keystore. This is further detailed https://infinispan.org/docs/stable/titles/hotrod_java/hotrod_java.html#hotrod_encryption[here].
829
828
830
829
The Infinispan Client extension enables SSL/TLS by default. You can read more about this
831
830
at xref:native-and-ssl.adoc[Using SSL With Native Executables].
832
831
832
+ == SSL Host Name Validation
833
+
834
+ To prevent MITM attacks, when SSL is enabled, SSL host name validation is enabled by default in Infinispan.
835
+ In this case, configuring the SNI host name is mandatory to start the client.
836
+
837
+ [source,properties]
838
+ ----
839
+ quarkus.infinispan-client.sni-host-name=localhost <1>
840
+ ----
841
+ <1> Sets the SNI host name
842
+
843
+ This behaviour can be changed by disabling the validation.
844
+
845
+ [source,properties]
846
+ ----
847
+ quarkus.infinispan-client.ssl-host-name-validation=false <1>
848
+ ----
849
+ <1> Disables ssl host name validation
850
+
833
851
== Additional Features
834
852
835
853
The Infinispan Client has additional features that were not mentioned here. This means this
0 commit comments