설명
Crossplane Redis 리소스의 enableNonSslPort: true는 평문 포트를 추가로 엽니다. 이 포트에 연결하는 클라이언트의 트래픽은 내부망에서도 암호화되지 않습니다.
잠재적 영향
통신 경로에서 캐시 데이터와 자격 증명이 노출되거나 요청이 변조될 수 있습니다.
해결 방법
클라이언트를 TLS로 전환하고 서버 인증서와 호스트 이름을 검증하세요. 인증된 연결을 확인한 뒤 enableNonSslPort: false를 적용하세요. 기존 네트워크 제한을 유지하고 평문 포트가 거부되는지 확인하세요.
예시
예시는 cache.azure.crossplane.io/v1beta1의 연결 설정만 보여 줍니다. 캐시를 배포하려면 이름, 리소스 그룹과 SKU도 구성하세요.
변경 전
yaml
apiVersion: cache.azure.crossplane.io/v1beta1
kind: Redis
spec:
forProvider:
location: West Europe
enableNonSslPort: true
변경 후
yaml
apiVersion: cache.azure.crossplane.io/v1beta1
kind: Redis
spec:
forProvider:
location: West Europe
enableNonSslPort: false