Description
On Azure Cache for Redis, enable_non_ssl_port: yes allows clients to connect without TLS.
Potential impact
Credentials and cache data travel in plaintext for clients using that port.
Remediation
Set the cache hostname and TLS port on clients and enable server certificate verification. After an authenticated connection succeeds, apply enable_non_ssl_port: no and confirm that the plaintext port refuses connections.
Examples
To use the short module name shown, select azure.azcollection in the play. Supply the actual resource group, cache name and required SKU.
Before
yaml
- name: Redis 생성
azure_rm_rediscache:
resource_group: myResourceGroup
name: myRedis
enable_non_ssl_port: yes
After
yaml
- name: Redis 생성
azure_rm_rediscache:
resource_group: myResourceGroup
name: myRedis
enable_non_ssl_port: no