Subject: TLS Authentication with Tigase Server
Hi,
This is my first post and I am very new to XMPP and trying to assist another developer.
We have an XMPP server running Tigase that includes two domains. For illustrative purposes, lets stay Domain1.com and Domain2.com. In Tigase, we have identified that both domains be validated with TLS. We have created 3rd party signed certificates for Domain1.com and Domain2.com and put them in the Certs directory for Tigase.
When the authentication happens in the Matrix client, the Host name we are receiving is the name of the server (something like server1.com), but the certificate provided is for Domain1.com. Therefore, we are getting Server Name Mismatch error and the connection is closed.
I am trying to understand how I can instruct the Matrix code to use the XMPP domain name to validate instead of the server host name. Can anyone help?
Thanks!
This is my first post and I am very new to XMPP and trying to assist another developer.
We have an XMPP server running Tigase that includes two domains. For illustrative purposes, lets stay Domain1.com and Domain2.com. In Tigase, we have identified that both domains be validated with TLS. We have created 3rd party signed certificates for Domain1.com and Domain2.com and put them in the Certs directory for Tigase.
When the authentication happens in the Matrix client, the Host name we are receiving is the name of the server (something like server1.com), but the certificate provided is for Domain1.com. Therefore, we are getting Server Name Mismatch error and the connection is closed.
I am trying to understand how I can instruct the Matrix code to use the XMPP domain name to validate instead of the server host name. Can anyone help?
Thanks!