Description
On this Crossplane Redis resource, enableNonSslPort: true opens an additional plaintext port. Clients using it send unencrypted traffic even on a private network.
Potential impact
Credentials or cache data can be exposed in transit, and requests can be altered.
Remediation
Move clients to TLS and verify the server certificate and hostname. Test an authenticated connection before applying enableNonSslPort: false. Keep network restrictions in place and confirm that the plaintext port refuses connections.
Examples
The cache.azure.crossplane.io/v1beta1 excerpts show connection settings. Supply the name, resource group and SKU to deploy the cache.
Before
yaml
apiVersion: cache.azure.crossplane.io/v1beta1
kind: Redis
spec:
forProvider:
location: West Europe
enableNonSslPort: true
After
yaml
apiVersion: cache.azure.crossplane.io/v1beta1
kind: Redis
spec:
forProvider:
location: West Europe
enableNonSslPort: false