Has anybody out there a working NC installation which uses SSL to connect to MariaDB/MySQL on a different server?
If so, can you share your config.php file with me?
I tried my very best by setting the dbdriverotions in the conifg.php
’dbdriveroptions’ => array (
PDO::MYSQL_ATTR_SSL_KEY => ‘/etc/mysql/ssl/client-key.pem’,
PDO::MYSQL_ATTR_SSL_CERT => ‘/etc/mysql/ssl/client-cert.pem’,
PDO::MYSQL_ATTR_SSL_CA => ‘/etc/mysql/ssl/ca-cert.pem’,
)
and set the ‘require SSL’ flag for my DB user.
But at least for me this throws with an ‘Doctrine\DBAL\DBALExecpion’ SQLSTATE[HY000]