ejabberd - Comments for "ejabberd_http on two ports?" https://www.ejabberd.im/node/944 en Re: Yeah, that was an oops. https://www.ejabberd.im/node/944#comment-2066 <div class="quote-msg"> <div class="quote-author"><em>heisters</em> wrote:</div> <p>Yeah, that was an oops. Unfortunately, changing it doesn't fix anything... neither does switching from tls to starttls, which I would think would only provide encryption if the client supported it.</p></div> <p>The example in the official documentation works for me. Are you sure it is no JWChat config issue?</p> Wed, 02 Aug 2006 22:53:08 +0000 sander comment 2066 at https://www.ejabberd.im Re: ejabberd_http on two ports? https://www.ejabberd.im/node/944#comment-2016 <div class="quote-msg"> <div class="quote-author"><em>badlop</em> wrote:</div> <p>If you want encryption for JWChat, instead of adding encryption to HTTP-Poll, add it to your HTTP server. After all, your users connect to your Jabber server using HTTP, not HTTP-Poll, right? </p></div> <p>I've already got SSL for the JWChat web interface. But the web interface passes usernames and passwords to the HTTP-POLL interface, so it's not so secure if JWChat can't connect to an SSL HTTP-POLL.</p> Tue, 18 Jul 2006 15:34:08 +0000 heisters comment 2016 at https://www.ejabberd.im Re: ejabberd_http on two ports? https://www.ejabberd.im/node/944#comment-2015 <div class="quote-msg"> <div class="quote-author"><em>heisters</em> wrote:</div> <p>2) get ejabberd_http to listen on two ports, one with SSL enabled, and the other without.</p></div> <p>You forgot option 3), and it works:</p> <pre> {5280, ejabberd_http, [http_poll]}, {5284, ejabberd_http, [web_admin, tls, {certfile, "/etc/ssl/certs/ejabberd.pem"}]}</pre><p> If you want encryption for JWChat, instead of adding encryption to HTTP-Poll, add it to your HTTP server. After all, your users connect to your Jabber server using HTTP, not HTTP-Poll, right?</p> Tue, 18 Jul 2006 11:13:19 +0000 mfoss comment 2015 at https://www.ejabberd.im Yeah, that was an oops. https://www.ejabberd.im/node/944#comment-2013 <p>Yeah, that was an oops. Unfortunately, changing it doesn't fix anything... neither does switching from tls to starttls, which I would think would only provide encryption if the client supported it.</p> Mon, 17 Jul 2006 18:34:46 +0000 heisters comment 2013 at https://www.ejabberd.im Re: ejabberd_http on two ports? https://www.ejabberd.im/node/944#comment-2002 <div class="quote-msg"> <div class="quote-author"><em>heisters</em> wrote:</div> <p> {5280, ejabberd_http, [http_poll, web_admin]},<br /> {5284, ejabberd_http, [http_poll, web_admin, tls, {certfile, "/etc/ssl/certs/ejabberd.pem"}, starttls_required]} </p></div> <p>This looks correct, except that <code>starttls_required</code> shouldn't be there (the connection is TLS from the beginning, so there is no need to "start" TLS). Not sure if that is the problem, though...</p> Thu, 13 Jul 2006 22:43:25 +0000 legoscia comment 2002 at https://www.ejabberd.im