It's possible (and very likely) that I'm missing something when it comes to how ejabberd and XMPP in general does security, so I'm a bit stuck trying to get this to work and very much need some help.
We currently have ejabberd setup/configured and running nicely on a Windows Server 2008 box. Up til now we've only been communicating with the server over http:// everything being broadcast in plaintext. But we need to enable security. In the past whenever we've wanted to do something securely its just been a matter of adding our cert to IIS and running everything through https. So I kind of assumed ejabberd would be something very similar (minus the IIS bit). So I've created a .pem (which is new to me) and pointed ejabberd at it with the following config (if you need more let me know).
{5222, ejabberd_c2s, [
{access, c2s},
{shaper, c2s_shaper},
{max_stanza_size, 65536},
starttls, {certfile, "c:/ejabberd.pem"}
]},
{5280, ejabberd_http, [
%%{request_handlers, [
%% {["web"], mod_http_fileserver}
%%]},
captcha,
http_bind,
http_poll,
web_admin
]},
{5281, ejabberd_http, [
web_admin,
http_bind,
tls, {certfile, "c:/ejabberd.pem"}
]}
{s2s_use_starttls, true}.
{s2s_certfile, "c:/ejabberd.pem"}.
The goal is to be able to do the same thing as
Originally I assumed that the https:// request would be made through the 5222 port but that does not appear to work, after doing some more reading (
If https is a valid way to go and I'm just doing it wrong, then can anyone point out what I'm doing wrong?
Hi I too having similar issue
Hi
I too having similar issue now...did you found the solution for https://
If so can you please your solution here so that it will be helpful to those who having similar issue..