I reproduce the problem with the minimal Kamailio configuration
([
here](https://github.com/kamailio/kamailio/blob/master/misc/examples/mixed/…)
by adding the following lines:
```
/* add local domain aliases */
alias="euler.local"
/* listen addresses */
enable_tls=yes
listen=tls:192.168.0.11:5061
loadmodule "tls"
modparam("tls", "private_key",
"/home/euclid/etc/certs/local/privkey.pem")
modparam("tls", "certificate",
"/home/euclid/etc/certs/local/kamailio1_cert.pem")
loadmodule "db_mysql"
loadmodule "sqlops"
modparam("sqlops","sqlcon","euler=>mysql://[euclid]/euler")
```
Of course, other resources are needed:
- database certificates: `ca-cert.pem client-cert.pem client-key.pem server-cert.pem
server-key.pem`
- database (mariadb in my case) launched with SSL
- Kamailio certificates: `privkey.pem kamailio1_cert.pem`
- `/etc/mysql/conf.d/my.cnf` with the `[euclid]` section (mentioned earlier as ...
`euler`)
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3115#issuecomment-1130108018
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/3115/1130108018(a)github.com>