ONTAP Tools 10: How to configure secure TLS Cipher Suites and Firewall Rules
Applies to
- ONTAP Tools for VMware vSphere (OTV) 10.x
Description
Note: There is a script available that will perform the steps outlined in the procedure.
This KB describes how to harden OTV 10.x by:
- Restricting access to sensitive Kubernetes/etcd ports using persistent host firewall rules
- Configuring recommended TLS cipher suites for Kubernetes API server, kubelet, and etcd
This covers ports:
6443/TCP- Kubernetes API server9345/TCP- RKE2 supervisor / node registration10250/TCP- kubelet API2379/TCP- etcd client2380/TCP- etcd peer
Applicable OTV Network Addresses
Depending on deployment and routing, these ports may be reachable on:
- OTV / ONTAP tools IP address (Gateway UI IP)
- Node interconnect IP address (HA / internal)
- Generic VM/node IP address
Note: Use the IP(s) applicable to your setup when validating rules and TLS.
Recommended Cipher Suites (Baseline)
Use these strong TLS 1.2 AEAD cipher suites where supported:
TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256
Note: The certificate type presented by an endpoint affects which suites can be negotiated/observed.
Note: Logging into the OTV10 remote diagnostics shell with the diag user will provide you the ability to perform the tasks outlined in this article
