TMAegis
Aturan lainnya untuk redis

TMA-REDIS-TLS

Ensure TLS is enabled

SedangLevel 2Otomatisredis

Deskripsi

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).

Cara pemeriksaan

Metode audit: Pola file

File
/etc/redis/redis.conf
Pola
(?m)^[ \t]*tls-port[ \t]+[1-9][0-9]*\b

Cara perbaikan

Metode perbaikan: Panduan atau patch infrastruktur

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

Properti

Sistem operasi
Apa saja
Tag
redisdatabasetls
Referensi
CIS Redis Benchmark - Network Security / TLS (verify section number for your release)

Periksa host ini

Jalankan ini pada mesin yang diizinkan untuk Anda audit. Pemindaian bersifat hanya baca.

shell
tmaegis scan --target redis --level 2