I have an ejabberd served with external authentication which is working fine supporting a notification system for my web application. (currently I´m using Strophe.js to perform XMPP over BOSH connection)
Due some new requirements I need to implement the xmpp bosh communication over HTTPS using TLS, but I could not make it work.
My ejabberd.cfg is configured like this:
{listen,
[
{5280, ejabberd_http, [
%%{request_handlers, [
%% {["web"], mod_http_fileserver}
%%]},
{certfile, "C:\\Program Files (x86)\\ejabberd-2.1.10\\conf\\server.pem"}, tls,
captcha,
http_bind,
http_poll,
web_admin
]}
]}.
I tried to connecting using jwchat, strophe.js and even with pidgin xmpp client. In all the cases, the connection is not achieved correctly.
Is there any step missing? Should I use extra proxies or something like that to make it work?
Thanks in Advance,
Renato.
It works correctly for me
It works correctly for me using ejabberd 2.1.13 configured like you:
Then I started the client Gajim 0.14.4, configured an account with Connection, Proxy, Type: BOSH, and URL BOSH:https://localhost:5282/http-bind
It can login correctly, Gajim shows the lock icon, and ejabberd logs: