Re: SSL config help
Posted by:
iuri fanti
Date: March 12, 2008 05:46PM
I set up a MySQL SSL connection just yesterday fro the first time, and al works fine for me. I suppose you already have your .pem files. You have to put the following lines under the [mysqld] section of the config file:
--ssl-ca=$DIR/cacert.pem
--ssl-cert=$DIR/server-cert.pem
--ssl-key=$DIR/server-key.pem
(don't remember whether at the beginning of the lines there is the -- )
where $DIR obviously is the directory your .pem files are. And when you run mysql, you have to use the --ssl flag. That's all!
In order to verify whether SSL is working on your server, just follow instructions on
http://dev.mysql.com/doc/refman/5.0/en/secure-using-ssl.html
Hope it's useful!
Subject
Views
Written By
Posted
5623
February 26, 2008 04:52PM
Re: SSL config help
3248
March 12, 2008 05:46PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.