[asterisk-users] cdr_mysql: Cannot connect to database server - SSL error: SSL_CTX_set_default_verify_paths failed

Markus universe at truemetal.org
Mon Jun 8 05:15:56 CDT 2020

Hi list!

I'm getting this error frequently:

ERROR[25193][C-0004f387]: cdr_mysql.c:203 mysql_log: Cannot connect to 
database server localhost: (2026) SSL connection error: 
SSL_CTX_set_default_verify_paths failed

Right now, as a workaround, I reload Asterisk via cron once an hour, and 
after the reload everything is fine again _for a while_. Still, over the 
course of a month I lose about 12% of my CDRs this way. I guess I could 
reload more often but would prefer a real fix, not a workaround. Anyone 
got an idea?

Asterisk 11.25.0 built by mockbuild @ olive.ph.tucny.com on a x86_64 
running Linux on 2016-11-23 22:17:54 UTC

Database is a Galera cluster: galera-3-25.3.19-2.el7.x86_64

Asterisk is writing to the local MySQL instance and there's SSL between 
the Galera cluster nodes.


More information about the asterisk-users mailing list