Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I set up two MySQL servers where one is replicating from the other. They both work perfectly, but once I turn on SSL I get the following error:

ERROR 2026 (HY000): SSL connection error

I get the same error running from command line like so:

mysql --ssl=1 --ssl-ca=/etc/mysql/certificates/ca-cert.pem --ssl-cert=/etc/mysql/certificates/client-cert.pem --ssl-key=/etc/mysql/certificates/client-key.pem --user=slave --password=slavepassword --host=master.url.com

Both MySQL servers are running on version 5.0.77. There is a difference that MySQL in the master server was compiled under x86_64 while in the slave server under i686. Also both machines are running CentOS 5.

Plus I generated certificates as per this page.

Any idea for finding a solution?

share|improve this question

1 Answer 1

Regenerate your certificates, using different common names for the master and slave

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.