TMA-REDIS-TLS
Ensure TLS is enabled
Trung bìnhCấp 2Tự độngredis
Mô tả
tls-port (Redis 6+) with tls-cert-file/tls-key-file encrypts client traffic; also set 'port 0' to disable the plain-text listener. Checks /etc/redis/redis.conf (SKIP when it does not exist; RHEL uses /etc/redis.conf).
Cách kiểm tra
Phương pháp kiểm tra: Mẫu tệp
- Tệp
/etc/redis/redis.conf- Mẫu khớp
(?m)^[ \t]*tls-port[ \t]+[1-9][0-9]*\b
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
Set tls-port 6379, tls-cert-file, tls-key-file, tls-ca-cert-file and port 0 in redis.conf, restart Redis and configure clients for TLS
Thuộc tính
- Hệ điều hành
- Bất kỳ
- Thẻ
- redisdatabasetls
- Tham chiếu
- CIS Redis Benchmark - Network Security / TLS (verify section number for your release)
Kiểm tra máy này
Chạy lệnh này trên máy bạn được phép kiểm tra. Lần quét chỉ ở chế độ đọc.
shell
tmaegis scan --target redis --level 2