TMA-MARIADB-9.5
Ensure mutual TLS is enabled
Mô tả
Mutual TLS (a.k.a. Two-Way TLS) enhances TLS by requiring that both parties authenticate each other when establishing a connection. Mutual TLS adds a requirement (over TLS) that the client provide its certificate so the server can authenticate the client.
Cách kiểm tra
Phương pháp kiểm tra: Xem xét thủ công
Khuyến nghị này không thể kiểm tra tự động. Lần quét sẽ liệt kê mục này kèm hướng dẫn khi bạn truyền cờ --include-manual.
If replication uses TLS, run SHOW REPLICA STATUS\G on the replica and verify Master_SSL_Cert and Master_SSL_Key name the replica's certificate and key; on the primary verify the replication account requires a certificate (SELECT user, host, ssl_type FROM mysql.user WHERE Repl_slave_priv = 'Y'; ssl_type X509 or SPECIFIED).
Cách khắc phục
Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng
On the replica: CHANGE MASTER TO MASTER_SSL_CERT = '<cert>', MASTER_SSL_KEY = '<key>', MASTER_SSL_CA = '<ca>'; on the primary: ALTER USER '<repl>'@'<host>' REQUIRE X509;
Thuộc tính
- Hệ điều hành
- Bất kỳ
- Thẻ
- mariadbdatabasereplicationtlsmanual
- Tham chiếu
- CIS MariaDB 10.11 Benchmark v1.0.0 - 9.5 Ensure mutual TLS is enabled