tldrTLS
Colour theme

Google Cloud

A Google Cloud load balancer with no SSL policy still accepts TLS 1.0.

Check which SSL policy each HTTPS proxy actually uses, then set the minimum version your clients need.

Added Updated

What the SSL policy controls

Creating a policy is only the first step. It takes effect when you attach it to the proxy that handles your visitors’ HTTPS connections.

Setting Set this If you do nothing
SSL policy profile RESTRICTED COMPATIBLE
Minimum TLS version 1.3 1.0
Post-quantum key exchange Leave it on On since October 2026

SSL policies

An SSL policy sets the TLS versions and ciphers for Application Load Balancers and proxy Network Load Balancers. A load balancer with no policy attached behaves as if it had the COMPATIBLE profile and a minimum of TLS 1.0.

  • TLS 1.3 only: profile RESTRICTED, minimum version 1.3. A minimum of 1.3 is only allowed with RESTRICTED.
  • TLS 1.2 still needed: profile RESTRICTED, minimum version 1.2. Use MODERN only if a client needs a cipher RESTRICTED leaves out.

Create a policy:

gcloud compute ssl-policies create tls13-only \
    --profile RESTRICTED --min-tls-version 1.3

Attach it to each HTTPS proxy:

gcloud compute target-https-proxies update PROXY_NAME \
    --ssl-policy tls13-only

Regional load balancers need --region REGION on both commands.

See which policies exist:

gcloud compute ssl-policies list

A proxy with nothing in its sslPolicy field is on the TLS 1.0 default. Describe each proxy and look:

gcloud compute target-https-proxies describe PROXY_NAME --format='value(sslPolicy)'

Post-quantum key exchange

Google Cloud load balancers have offered X25519MLKEM768 by default since October 2026, to any client that speaks TLS 1.3 and supports it. It works with every profile.

A policy can put this off by setting the mode to DEFERRED. That option ends after October 2027, and there is no good reason to use it. If someone set it, change the policy's post-quantum mode back to ENABLED.

It covers the connection from the client to the load balancer only. The hop from the load balancer to your backends is separate.

Check the result

Replace example.com with your public hostname. With OpenSSL 3.5 or later, the first command asks specifically for hybrid key exchange. Look for X25519MLKEM768 as the negotiated group. The second (get weeb) shows which TLS versions it accepts.

openssl s_client -connect example.com:443 -groups X25519MLKEM768 -brief </dev/null
weeb probe example.com --fix

Sources

  1. Google Cloud: SSL policies overview fetched
  2. Google Cloud: Use SSL policies fetched
  3. Google Cloud: Post-quantum TLS fetched

Changelog