Hi,
According to the information from MySQl documentation:
"On the slave, you have two options available for setting the SSL information. You can either add the slave certificates to the [client] section of the slave's my.cnf file, or you can explicitly specify the SSL information using the CHANGE MASTER TO statement..."
However when I add the certificate information to the MySQL configuration file (my.cnf) it's not working and I still have to specify them using "CHANGE MASTER TO" statement anyway?
It look like mysql client can see these settings:
mysql --help
...
ssl TRUE
ssl-ca /etc/mysql/ca-cert.pem
ssl-capath (No default value)
ssl-cert /etc/mysql/client-cert.pem
ssl-cipher (No default value)
ssl-key /etc/mysql/client-key.pem
...
According to the information from MySQl documentation:
"On the slave, you have two options available for setting the SSL information. You can either add the slave certificates to the [client] section of the slave's my.cnf file, or you can explicitly specify the SSL information using the CHANGE MASTER TO statement..."
However when I add the certificate information to the MySQL configuration file (my.cnf) it's not working and I still have to specify them using "CHANGE MASTER TO" statement anyway?
It look like mysql client can see these settings:
mysql --help
...
ssl TRUE
ssl-ca /etc/mysql/ca-cert.pem
ssl-capath (No default value)
ssl-cert /etc/mysql/client-cert.pem
ssl-cipher (No default value)
ssl-key /etc/mysql/client-key.pem
...