MySQL Forums
Forum List  »  Newbie

SSL setup issue
Posted by: Derek Meyer
Date: August 29, 2017 10:26AM

To All:

I am attempting to setup a mysql server that does NOT validate the SSL Cert. Basically I just want SSL communication between the server and the end point using a self signed cert on a per user ID. I do not want to have to give out the CA.pem file to everyone

I have the proper entrys in the my.cfg file and when the user id is created using the REQUIRE X509 and the following is issued I get a failure

mysql -ub -pb --host=xxxx --ssl-verify-server-cert=false

the config file is

ssl-ca=/apps/opt/data_5_6/servername-ca.pem
ssl-cert=/apps/opt/data_5_6/server-cert.pem
ssl-key=/apps/opt/data_5_6/server-key.pem

alter user b require X509;

What am I doing incorrectly (would like to have it like postgress in function)

Thanks

Options: ReplyQuote


Subject
Written By
Posted
SSL setup issue
August 29, 2017 10:26AM


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.