Ataye created an issue (kamailio/kamailio#4376)
After getting a build, i ran `kamdbctl create` to create the database (after
configuring kamctlrc etc), but it would not connect, failing with `ERROR 2026
(HY000): TLS/SSL error: self-signed certificate in certificate chain`.
I ended up cloning Kamailio and hacked line 37 of /utils/kamctl/kamdbctl.mysql
by adding `--skip-ssl` to the mysql command. Seems kamdbctl isn't respecting
SSL_MODE_DISABLED set in the config.
_(i also got the error `/usr/local/sbin/kamdbctl: 117: [: =: unexpected
operator` due to mysql using utf8mb4 as reported by `show variables like
'%character_set_server%'`, but utf8mb4 wasn't present in the `show character
set` command within kamdbctl when checking for charset in `db_charset_test()`.
Fixed this by setting `CHARSET="latin1"` in the kamctlrc config)._
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4376
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/4...@github.com>
_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the
sender!