OpenSIPS / opensips-cli

OpenSIPS CLI tool - an interactive command line tool that can be used to control and monitor OpenSIPS servers.
GNU General Public License v3.0
86 stars 48 forks source link

Secure connection to database #115

Open mbebjak opened 11 months ago

mbebjak commented 11 months ago

I've been trying to setup secure connection to database in opensips-cli.cfg but I can not see a way how it can be done.

Config contains database_url and database_admin_url only and no additional settings.

As far as I was able to figure out, these urls are passed to: https://github.com/OpenSIPS/opensips-cli/blob/e3ec055f15a17f3878b1c2a0e4f7bd1930d4f4cc/opensipscli/db.py#L205-L205 In order for sqlalchemy to connect via secure connection, additional arguments need to be passed.

Is it possible for opensips-cli to connect to database using secure connection? Are there plans to add this?