MariaDB/MySQL using SSL

Post your questions about Web Server usage and Apache + PHP + MySQL/SQLite web applications.
Post Reply
martynw
New here
Posts: 3
Joined: Sun Feb 23, 2014 9:48 pm

MariaDB/MySQL using SSL

Post by martynw »

Hi,

I'm trying to configure the MariaDB on my QNAP TS-419p (firmware 4.3.3.0404) to use SSL. I've setup the keys, certificates via OpenSSL, after adjusting the my.cnf to include the below lines within the [mysqld] section: -

Code: Select all

ssl-ca = /usr/local/mariadb/certs/ca.pem
ssl-cert = /usr/local/mariadb/certs/server-cert.pem
ssl-key = /usr/local/mariadb/certs/server-key.pem
On restarting the SQL server: -

Code: Select all

/etc/init.d/mysqld.sh start
I get: -

Code: Select all

Starting MySQL................................... ERROR! 
Anyone have any experience in getting SSL to work on these units? Is there a log file somewhere which would give more help?

Thanks,

Martyn
User avatar
dolbyman
Guru
Posts: 35269
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: MariaDB/MySQL using SSL

Post by dolbyman »

what version of MariaDB did you install ?
Post Reply

Return to “Web Server & Applications (Apache + PHP + MySQL / SQLite)”