# Integrate keycloak with remote infinispan server

**URL:** <https://forum.keycloak.org/t/integrate-keycloak-with-remote-infinispan-server/1373>\
**Category:** Securing applications\
**Created:** [February 24, 2020, 10:00am UTC](https://forum.keycloak.org/t/integrate-keycloak-with-remote-infinispan-server/1373 "2020-02-24T10:00:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kannan](https://avatars.discourse-cdn.com/v4/letter/k/7ba0ec/32.png) [@Kannan](https://forum.keycloak.org/u/Kannan)\
**Post date:** [February 24, 2020, 10:00am UTC](https://forum.keycloak.org/t/integrate-keycloak-with-remote-infinispan-server/1373/1 "2020-02-24T10:00:17Z")

</div>

Hi,

We have an infinispan server running on a remote server and i am trying to configure keycloak to use the remote-store through ssl. I am not able to get the configuration correct. i have this in the standalone-ha.xml

 true org.keycloak.cluster.infinispan.KeycloakHotRodMarshallerFactory 

and adding this to the standalone-ha.xml doesnot seems to work.

```
           <security>
              <encryption protocol="TLSv1.2" sni-hostname="*">
                 <keystore filename="keystore.jks" password="xxxxxxxxxxxxxxxx" type="JKS"/>
                 <truststore filename="truststore.jks" password="xxxxxxxxxxxx" type="JKS"/>
              </encryption>
           </security>

```

I am using Infinispan 9.4.17 and keycloak 6.0.1. Any help is appreciated.

Thanks,  
Kannan

---

<div class="post-metadata">

**Author:** ![constfilin-sgn](https://avatars.discourse-cdn.com/v4/letter/c/a5b964/32.png) [@constfilin-sgn](https://forum.keycloak.org/u/constfilin-sgn)\
**Post date:** [July 9, 2020, 5:57pm UTC](https://forum.keycloak.org/t/integrate-keycloak-with-remote-infinispan-server/1373/2 "2020-07-09T17:57:39Z")

</div>

I would also love to know the answer on this question.

For legacy reasons, I would like Keycloak to talk to a standalone inifispan service and talk to it using network.

@Kannan: were you able to do that? What was your XML configuration file? Appreciate any tips.

---

<div class="post-metadata">

**Author:** ![kkcmadhu](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/kkcmadhu/32/7545_2.png) [@kkcmadhu](https://forum.keycloak.org/u/kkcmadhu)\
**Post date:** [July 28, 2020, 8:21am UTC](https://forum.keycloak.org/t/integrate-keycloak-with-remote-infinispan-server/1373/3 "2020-07-28T08:21:36Z")

</div>

This is the direct keycloak X is also planning to take!
