Review the NIFCLOUD load balancer TLS policy ID

Check the TLS settings selected by the policy ID.

Description

Before setting ssl_policy_id, check which TLS versions and cipher suites the ID permits. Check the default policy too if you rely on it.

Potential impact

Clients may negotiate obsolete protocols or weak cipher suites if the policy permits them.

Remediation

List the policies available to the load balancer and choose an ID that meets your requirements. After applying it, verify that required clients can connect and excluded protocol versions are rejected.

Examples

The example sets policy ID 4 on port 443. Confirm which policy that ID selects and supply the certificate needed for TLS termination.

Before

hcl
resource "nifcloud_load_balancer" "example" {
  load_balancer_name = "example"
  instance_port      = 443
  load_balancer_port = 443
}

After

hcl
resource "nifcloud_load_balancer" "example" {
  load_balancer_name = "example"
  instance_port      = 443
  load_balancer_port = 443
  ssl_policy_id      = "4"
}

References