Ejabberd: MySQL over SSL

Created on 28 Oct 2019  路  4Comments  路  Source: processone/ejabberd

Hi,

any chance to get the possibility to connect ejabberd with MySQL over SSL?

I guess ejabberd config should get something like:

sql_type: mysql
sql_server: "mysql.example.org"

host_config:
  "example.org":
    sql_database: "ejabberd"
    sql_username: "ejabberd"
    sql_password: "BlaBla"
    sql_ssl: "True"
    sql_ssl_key: "/path/to/client-privkey.pem"
    sql_ssl_cert: "/path/to/client-cert.pem"
    sql_ssl_ca: "/path/to/mysql-ca.pem"
Feature

All 4 comments

You can use some SSH tunnel for this. Just read SSH daemon manual.

It's definitely planned, but we have no exact ETA.

Or wireguard vpn - really easy to setup - config/startup by wg-quick or systemd-networkd really easy.

This has been added by commit 9c25d1024a06143a7efab3092ee56b2bb2de2b10

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Vshnv picture Vshnv  路  4Comments

andrew-vant picture andrew-vant  路  4Comments

lgg picture lgg  路  4Comments

shazvan275 picture shazvan275  路  3Comments

irvingwa picture irvingwa  路  3Comments