Quantcast
Channel: Admins Goodies » mariadb
Viewing all articles
Browse latest Browse all 5

How to check if MySQL replication is using SSL

$
0
0

Question

I have a MySQL (actually mariaDB) install that I just started replicating to another server. I want to ensure that I’ve setup SSL correctly. The SSL portion of SHOW SLAVE STATUS looks like:

Master_SSL_Allowed: Yes
Master_SSL_CA_File: /etc/mysql/newcerts/ca-cert.pem
Master_SSL_CA_Path: /etc/mysql/newcerts/
Master_SSL_Cert: /etc/mysql/newcerts/client-cert.pem
Master_SSL_Cipher:
Master_SSL_Key: /etc/mysql/newcerts/client-key.pem
Seconds_Behind_Master: 0
Master_SSL_Verify_Server_Cert: No

Is this typical or show that replication is using SSL? Is there something else I can check to ensure it’s using SSL? The slave is successfully replicating.

Asked by tubaguy50035

Answer

Inspect the relevant traffic with tcpdump/wireshark.

Answered by rackandboneman

Viewing all articles
Browse latest Browse all 5