How to get recoder working with mysql / mariadb with ssl enabled?

for my external mariadb I have ssl on
/etc/mysql/mariadb.conf.d/50-server.cnf

ssl-ca = /var/lib/mysql/cert/ca.pem
ssl-cert = /var/lib/mysql/cert/server-cert.pem
ssl-key = /var/lib/mysql/cert/server-key.pem
require-secure-transport = on

this stops homeassistant connecting unless its turned off I just get auth errors , even tho every other client accessing connects just fine without any ssl tweaks, even kodi that’s using old legacy password methods

with configuration.yaml I have tried with

db_url: mysql://username:password@mariadb/homeassistant?charset=utf8mb4;ssl=true

and I threw in all the mariadb certs into HAOS /ssl

but still no dice , also if there is any syntax errors its just because I typed them out because copy paste does not work using HA’s terminal and could not be bothered to ssh in

Maybe the same issue as described here:

Try to change your connection string accordingly.

1 Like

Thanks, confirming this was indeed the issue
&ssl=true