Not logged in. · Lost password · Register
Forum: MatriX and XmppDotNet RSS
Avatar
Hari Dudani #1
Member since Nov 2016 · 18 posts
Group memberships: Members
Show profile · Link to this post
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
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
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
Member since Nov 2016 · 18 posts
Group memberships: Members
Show profile · Link to this post
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
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
true should be already the default value.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters: