lundi 9 février 2015

MySQL ssl setup failed


I am following word by word of http://ift.tt/1tjWrBw for creating SSL certificates to setup SSL enable replication but it is not working for me. Steps which I am following:



  1. Using above reference I have created all required certificates in /var/opt/mysql_certs/

  2. Changed the ownership of all the certificates chown -R mysql:mysql /var/opt/mysql_certs

  3. Then I edited my /etc/my.conf and put these 3 lines in mysqld section: ssl-ca=/var/opt/mysql_certs/ca-cert.pem ssl-cert=/var/opt/mysql_certs/server-cert.pem ssl-key=/var/opt/mysql_certs/server-key.pem

  4. Lastly I am restarting mysqld with /etc/init.d/restart mysqld. But, I am getting following errors: [Warning]: Failed to setup SSL [Warning] SSL error: SSL_CTX_set_default_verify_paths failed


FYI: OS is centOS 6.





Aucun commentaire:

Enregistrer un commentaire