

Pidgin might freeze for a little while because you don’t have enough random data collected in /dev/random – moving your mouse / typing will fix this. Next you need to generate a key for your desired account, select it and click on Generate.
EJABBERD CENTOS WEB PANEL INSTALL
OTR is available for various XMPP clients, I will go through the setup using Pidgin (preinstalled chat client on linux).Ĭheck your plugins first (OTR might already be installed), if it isn’t, download the plugin: sudo apt-get install pidgin-otrĪctivate OTR by clicking on Tools > Plugins, check the box and click on Configure Plugin. This is achieved by using AES, DHM and SHA-1. OTR enhances the security between two users even more. Check Create this new account on the server > add and register your account. Change the protocol to XMPP and fill in your user name, domain and password. You can add new accounts by clicking on accounts > manage accounts. Sudo ejabberdctl register testuser testpassword There are numerous ways of adding new accounts, some are shown below: Killing frozen ejabberd processes might work wonders as well: ps -aux | grep 'ejabberd' If you receive any errors check the latest error logs found in /var/log/ejabberd for guidance. I also linked the documentaries for reference at the appropriate locations. Restart the ejabberd deamon: sudo service ejabberd restart Uncomment and change the following in ejabberd.yml: captcha_cmd: "/usr/share/ejabberd/captcha.sh"Ĭaptcha_protected: true preview of a captcha Installing imagemagick and ghostscript: sudo apt install imagemagick ghostscript -no-install-recommends register Enabling captcha to increase spam protection

Store passwords hashed (SCRAM) and set the FQDN: auth_password_format: scramĮnable mod_register to allow In-Band registration: mod_register: Set the path to the certfile, enable and force TLS on the listening port 5222: certfile: "/etc/ejabberd/ejabberd.pem" Create a backup of the initial configuration file: cp /etc/ejabberd/ejabberd.yml /etc/ejabberd/ The whole configuration file is streaked with helpful comments. You should be aware of correct indention and case-sensitivity whilst working with. Making the script executable and executing the script: sudo chmod +x certificate_script Which includes: cat /etc/letsencrypt/live//priykey.pem \ The certificates created by certbot only last 90 days, thus I wrote a script which simplifies combining the new certificates into the file that is expected by ejabberd (ejabberd.pem): sudo touch certificate_script Copy it to /etc/letsencrypt/ and rename it to ca.crt: wget "" Get the public root certificate of let’s encrypt, it is used for signing our certificates.
EJABBERD CENTOS WEB PANEL UPDATE

This tutorial assumes the following setup: It commences with the essentials and closes with enabling various options (linking ejabberd with mysql, file transfer proxy via mod_proxy65). The most compelling aspects of ejabberd are it’s scalability, it’s robustness and the fact that it is so well documented. Having the goal of offering a safe way to communicate for friends and nearby living people I decided to setup my own Jabber / XMPP server using Debian 8.7 (jessie).
