I would like to setup an architecture which contains multiple openfire servers behind a compute engine load balancer. Also I would like to secure the communication between the server and clients using XMPP with TLS.
For the first part, I am guessing that if I change the IP of the domain name to point to load balancer IP and configure port forwarding accordingly then I can achieve this. Is this the right way to go about it ?
Now how do I secure communication in the above case using TLS ?
PS: I am using sleekXMPP in the client side.