ejabberd - Comments for "config https web admin" https://www.ejabberd.im/forum/25087/config-https-web-admin en I reinstalled and it's ok https://www.ejabberd.im/forum/25087/config-https-web-admin#comment-66087 <p>I reinstalled and it's ok now.</p> <p>Thanks you.</p> Fri, 11 Sep 2015 03:27:02 +0000 htmn1001 comment 66087 at https://www.ejabberd.im What fails ? What do you have https://www.ejabberd.im/forum/25087/config-https-web-admin#comment-66071 <p>What fails ? What do you have in the ejabberd log ? Could you please describe your issue with more details ?</p> Tue, 08 Sep 2015 07:30:16 +0000 mremond comment 66071 at https://www.ejabberd.im still fail, here are file https://www.ejabberd.im/forum/25087/config-https-web-admin#comment-66066 <p>still fail, here are file config:</p> <div class="codeblock"><code>loglevel: 4<br />log_rotate_size: 0<br />log_rotate_date: &quot;&quot;<br />log_rate_limit: 100<br />hosts:<br />&nbsp; - &quot;localhost&quot;<br />listen: <br />&nbsp; - <br />&nbsp;&nbsp;&nbsp; port: 5222<br />&nbsp;&nbsp;&nbsp; ip: &quot;::&quot;<br />&nbsp;&nbsp;&nbsp; module: ejabberd_c2s<br />&nbsp;&nbsp;&nbsp; certfile: &quot;/etc/ejabberd/ejabberd.pem&quot;<br />&nbsp;&nbsp;&nbsp; starttls: true<br />&nbsp;&nbsp;&nbsp; protocol_options:<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - &quot;no_sslv3&quot;<br />&nbsp;&nbsp;&nbsp; max_stanza_size: 65536<br />&nbsp;&nbsp;&nbsp; shaper: c2s_shaper<br />&nbsp;&nbsp;&nbsp; access: c2s<br />&nbsp; - <br />&nbsp;&nbsp;&nbsp; port: 5269<br />&nbsp;&nbsp;&nbsp; ip: &quot;::&quot;<br />&nbsp;&nbsp;&nbsp; module: ejabberd_s2s_in<br />&nbsp; - <br />&nbsp;&nbsp;&nbsp; port: 5280<br />&nbsp;&nbsp;&nbsp; ip: &quot;::&quot;<br />&nbsp;&nbsp;&nbsp; module: ejabberd_http<br />&nbsp;&nbsp;&nbsp; http_poll: true<br />&nbsp;&nbsp;&nbsp; captcha: true<br />&nbsp; -<br />&nbsp;&nbsp;&nbsp; port: 5282<br />&nbsp;&nbsp;&nbsp; module: ejabberd_http<br />&nbsp;&nbsp;&nbsp; web_admin: true<br />&nbsp;&nbsp;&nbsp; tls: true<br />&nbsp;&nbsp;&nbsp; certfile: &quot;/home/huy/localhost.pem&quot;<br />s2s_use_starttls: optional<br />s2s_certfile: &quot;/etc/ejabberd/ejabberd.pem&quot;<br />s2s_protocol_options:<br />&nbsp; - &quot;no_sslv3&quot;<br />auth_method: internal<br />shaper:<br />&nbsp; normal: 1000<br />&nbsp; fast: 50000<br />max_fsm_queue: 1000<br />acl:<br />&nbsp; admin:<br />&nbsp;&nbsp;&nbsp;&nbsp; user:<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - &quot;admin&quot;: &quot;localhost&quot;<br />&nbsp; local: <br />&nbsp;&nbsp;&nbsp; user_regexp: &quot;&quot;<br />&nbsp; loopback:<br />&nbsp;&nbsp;&nbsp; ip:<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - &quot;127.0.0.0/8&quot;<br />access:<br />&nbsp; max_user_sessions: <br />&nbsp;&nbsp;&nbsp; all: 10<br />&nbsp; max_user_offline_messages: <br />&nbsp;&nbsp;&nbsp; admin: 5000<br />&nbsp;&nbsp;&nbsp; all: 100<br />&nbsp; local: <br />&nbsp;&nbsp;&nbsp; local: allow<br />&nbsp; c2s: <br />&nbsp;&nbsp;&nbsp; blocked: deny<br />&nbsp;&nbsp;&nbsp; all: allow<br />&nbsp; c2s_shaper: <br />&nbsp;&nbsp;&nbsp; admin: none<br />&nbsp;&nbsp;&nbsp; all: normal<br />&nbsp; s2s_shaper: <br />&nbsp;&nbsp;&nbsp; all: fast<br />&nbsp; announce: <br />&nbsp;&nbsp;&nbsp; admin: allow<br />&nbsp; configure: <br />&nbsp;&nbsp;&nbsp; admin: allow<br />&nbsp; muc_admin: <br />&nbsp;&nbsp;&nbsp; admin: allow<br />&nbsp; muc_create: <br />&nbsp;&nbsp;&nbsp; local: allow<br />&nbsp; muc: <br />&nbsp;&nbsp;&nbsp; all: allow<br />&nbsp; pubsub_createnode: <br />&nbsp;&nbsp;&nbsp; local: allow<br />&nbsp; register: <br />&nbsp;&nbsp;&nbsp; all: allow<br />&nbsp; trusted_network: <br />&nbsp;&nbsp;&nbsp; loopback: allow<br />&nbsp; <br />language: &quot;en&quot;<br />modules: <br />&nbsp; mod_adhoc: {}<br />&nbsp; mod_announce: # recommends mod_adhoc<br />&nbsp;&nbsp;&nbsp; access: announce<br />&nbsp; mod_blocking: {} # requires mod_privacy<br />&nbsp; mod_caps: {}<br />&nbsp; mod_carboncopy: {}<br />&nbsp; mod_configure: {} # requires mod_adhoc<br />&nbsp; mod_disco: {}<br />&nbsp; mod_irc: {}<br />&nbsp; mod_http_bind: {}<br />&nbsp; mod_last: {}<br />&nbsp; mod_muc: <br />&nbsp;&nbsp;&nbsp; access: muc<br />&nbsp;&nbsp;&nbsp; access_create: muc_create<br />&nbsp;&nbsp;&nbsp; access_persistent: muc_create<br />&nbsp;&nbsp;&nbsp; access_admin: muc_admin<br />&nbsp; mod_offline: <br />&nbsp;&nbsp;&nbsp; access_max_user_messages: max_user_offline_messages<br />&nbsp; mod_ping: {}<br />&nbsp; mod_privacy: {}<br />&nbsp; mod_private: {}<br />&nbsp; mod_pubsub: <br />&nbsp;&nbsp;&nbsp; access_createnode: pubsub_createnode<br />&nbsp;&nbsp;&nbsp; ignore_pep_from_offline: true<br />&nbsp;&nbsp;&nbsp; last_item_cache: false<br />&nbsp;&nbsp;&nbsp; plugins: <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - &quot;flat&quot;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - &quot;hometree&quot;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - &quot;pep&quot; # pep requires mod_caps<br />&nbsp; mod_register: <br />&nbsp;&nbsp;&nbsp; welcome_message: <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; subject: &quot;Welcome!&quot;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; body: |-<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Hi.<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Welcome to this XMPP server.<br />&nbsp;&nbsp;&nbsp; ip_access: trusted_network<br />&nbsp;&nbsp;&nbsp; access: register<br />&nbsp; mod_roster: {}<br />&nbsp; mod_shared_roster: {}<br />&nbsp; mod_stats: {}<br />&nbsp; mod_time: {}<br />&nbsp; mod_vcard: {}<br />&nbsp; mod_version: {}</code></div> Mon, 07 Sep 2015 11:07:28 +0000 htmn1001 comment 66066 at https://www.ejabberd.im This should work:: listen: https://www.ejabberd.im/forum/25087/config-https-web-admin#comment-66065 <p>This should work::</p> <pre> listen: - port: 5282 module: ejabberd_http certfile: "/etc/ejabberd/server.pem" tls: true web_admin: true </pre> Mon, 07 Sep 2015 10:07:03 +0000 badlop comment 66065 at https://www.ejabberd.im