Not logged in. · Lost password · Registration disabled
Forum: MatriX and XmppDotNet RSS
Avatar
Hari Dudani #1
Subject: SSL in Matrix
Hi,

I am using openfire server and Matrix XMPP library to send and receive message in .net. Now we have installed SSL certificate on openfire server. Should I need  to change in Matrix xmpp code except http to https?

Thanks,
Sanjeev
This post was edited on 2016-11-14, 13:24 by Alex.
Avatar
Alex #2
HTTPS applies only when you are using the BOSH layer. Usually with XMPP you should use sockets, and when StartTls is set to true then MatriX automatically upgrades the socket to TLS which is the successor of SSL.
Avatar
Hari Dudani #3
Thanks Alex for your quick response.

I am using XMPP socket so I need to write only this statement in code

  1. XMPPClient.StartTls = true;

Nothing is require, Right?

Thanks,
Sanjeev
This post was edited on 2016-11-14, 14:25 by Alex.
Avatar
Alex #4
true should be already the default value.