You are not logged in.

#1 2011-11-07 18:52:16

action_owl
Member
From: WWW, The Internet 127.0.0.1
Registered: 2009-08-15
Posts: 73

Start MySQL with SSL [SOLVED]

** I had a typo in my mysql config, you can add ssl by through the config no need to modify /etc/rc.d/mysqld **



I need to start MySQL with SSL, I added the certificate information in my /etc/mysql/my.cnf, and restarted the server but SLL is still not enabled.

I found a Centos tutorial for setting up MySQL SSL encryption and it did not mention adding flags to the daemon, it's instructions were to add the ssl certs to the configuration file which did not work for me.

All the MySQL docs show that you need to start the Daemon with the ssl information like shown below so I assume that you can't set the certificates in the config file on Arch?

Would I edit /etc/rc.d/mysqld directly to add these flags?


shell> mysql --ssl-ca=ca-cert.pem \
       --ssl-cert=client-cert.pem \
       --ssl-key=client-key.pem

Thanks

Last edited by action_owl (2011-11-08 14:36:00)

Offline

Board footer

Powered by FluxBB