MySQL Forums
Forum List  »  Quality Assurance

How to enable SSL??
Posted by: Mrigank Mishra
Date: September 15, 2008 04:58AM

Hi!

I'm looking to enable SSL-support on mysql server. I've configured and built the source package for Suse 10.1 with "./configure --with-openssl" option and then installed it. When I try to login normally and do SHOW VARIABLES LIKE "%ssl", it shows it as "Disabled".

I then try to run mysql as:
mysql --ssl --ssl-ca=CA_PATH --ssl-server=SERVER_CERT_PATH --ssl-key=SERVER_KEY_PATH

it throws up the error: unknown option: "--ssl-ca".

I then did "SHOW VARIABLES" and it shows variables as "ssl_ca", "ssl_capath", "ssl_server etc". So I tried changing the command to:
mysql --ssl --ssl_ca=CA_PATH --ssl_server=SERVER_CERT_PATH --ssl_key=SERVER_KEY_PATH

But again I get the same error..

I then tried to set the variables manually by editing /etc/my.cnf. Now, the "SHOW VARIABLES" it shows variables as having correct values but still the command doesn't recognize these options.

Help Needed!

Could somebody help me out by detailing the steps to do so??

Options: ReplyQuote


Subject
Views
Written By
Posted
How to enable SSL??
7402
September 15, 2008 04:58AM


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.