[Action required] AKS is adopting post-quantum TLS: validate firewalls and proxies in your cluster's traffic path by April 30, 2027
[!IMPORTANT] Action required by 00:00 UTC on April 30, 2027, or before you move clusters to Kubernetes 1.38, whichever comes first: If traffic from your AKS clusters passes through a third-party firewall, network virtual appliance (NVA), proxy, or intrusion prevention system (IPS), confirm that it supports post-quantum TLS, and then validate your network path as described in Validate your network path below.
Summary
AKS is adopting post-quantum TLS. Starting at 00:00 UTC on April 30, 2027, AKS components on all AKS clusters will gradually start using a post-quantum key exchange for TLS 1.3 connections. These components include the kubelet, the container runtime (containerd), and AKS-managed add-ons. Clusters that run Kubernetes 1.38 or later use it from the start, as soon as that version is available on AKS, which can be before April 30, 2027.
Some third-party firewalls, NVAs, TLS-inspecting proxies, and IPS devices reset or drop these connections. If a device like this sits between your cluster and the services it depends on, nodes can fail to join the cluster, image pulls can fail, and add-ons can lose access to the Kubernetes API server, Microsoft Entra ID, and other Azure services.
Most clusters won't notice this change. Azure services, including Microsoft Artifact Registry, Microsoft Entra ID, and the AKS API server, already support these handshakes, so failures come only from devices in your network path. If your clusters' traffic passes only through Azure Firewall, no action is needed now.
Important dates
| Date | What happens |
|---|---|
| November 11, 2026 | This notice. |
| Now | Check the network devices in your clusters' traffic paths, apply any fixes, and validate each path. See What to do below. |
| When Kubernetes 1.38 is available on AKS | Clusters that you create with Kubernetes 1.38 or later, or upgrade to it, use the post-quantum key exchange from the start. Clusters on the rapid auto-upgrade channel move to Kubernetes 1.38 automatically when it's generally available. Validate your network paths first. For timing, see the AKS Kubernetes release calendar. |
| April 30, 2027, 00:00 UTC | AKS components on clusters that run Kubernetes versions earlier than 1.38 start using the post-quantum key exchange. AKS rolls out this change gradually through regular node image and add-on releases. From this date, any cluster whose traffic passes through a device that doesn't support the new handshake can be affected. |
Am I affected?
You might be affected if TLS traffic from your AKS nodes or pods passes through a device that inspects it. Common setups include:
- Clusters with the
userDefinedRoutingoutbound type that send traffic to a firewall or NVA, including hub-and-spoke and Azure Virtual WAN (routing intent) designs. - Clusters with the
noneoutbound type that use your own egress path. - Clusters configured with an HTTP proxy.
- Private traffic from your cluster to other virtual networks that passes through a hub firewall, such as calls to private endpoints for Azure Key Vault, Azure Container Registry, or Azure Storage. This applies even if your cluster's internet traffic doesn't use a firewall.
Device features that can cause failures include intrusion prevention or threat prevention, TLS (SSL) inspection or decryption, application identification, and secure web gateways. Devices that terminate TLS, such as some load balancers, can also be affected.
To list the clusters in your subscriptions that use one of these outbound types or an HTTP proxy, run this query in Azure Resource Graph Explorer:
resources
| where type =~ 'microsoft.containerservice/managedclusters'
| extend outboundType = tostring(properties.networkProfile.outboundType),
httpProxy = tostring(properties.httpProxyConfig.httpProxy),
httpsProxy = tostring(properties.httpProxyConfig.httpsProxy)
| where outboundType in~ ('userDefinedRouting', 'none') or isnotempty(httpProxy) or isnotempty(httpsProxy)
| project name, resourceGroup, subscriptionId, location, outboundType
The query can't detect private traffic that passes through a hub firewall, so check those paths separately.
You aren't affected if your cluster's traffic goes directly to the internet through the AKS-managed load balancer or NAT gateway and no inspecting device sits in any of its traffic paths. Traffic that passes only through Azure Firewall doesn't need any action now.
Symptoms
| Component | What you might see | Example error |
|---|---|---|
| kubelet | New nodes don't register or stay NotReady. Node pool create, scale, or upgrade operations fail. |
connection reset by peer or TLS handshake timeout when connecting to <cluster>.hcp.<region>.azmk8s.io:443 |
| containerd | Pods stay in ImagePullBackOff or ErrImagePull for images from mcr.microsoft.com. Pulls from other registries might keep working. |
failed to resolve image ... Head "https://mcr.microsoft.com/v2/.../manifests/...": read: connection reset by peer |
| cloud-node-manager | New nodes keep the node.cloudprovider.kubernetes.io/uninitialized=true:NoSchedule taint, so pods stay Pending. |
Connection resets to the API server |
| Add-ons, for example CSI drivers, the Secrets Store CSI Driver provider, workload identity, metrics-server, KEDA, and Azure Policy | Pods restart, stay in Init, or can't mount secrets or volumes. kubectl top fails. |
connection reset by peer, EOF, or TLS handshake timeout when connecting to the API server, login.microsoftonline.com, or other Azure services |
| Firewall or IPS logs | Sessions from AKS subnets match an allow rule but end with a reason such as threat, or the device resets the connection right after the TLS ClientHello. | - |
Tools such as curl on the same node can keep working because they send a different handshake. A successful curl test doesn't rule out this issue.
Why this happens
AKS components, such as the kubelet, containerd, and most add-ons, are written in Go, and Go 1.27 and later support post-quantum TLS 1.3 by default. Starting April 30, 2027, or from the start on Kubernetes 1.38 and later, AKS components offer the hybrid post-quantum key exchange X25519MLKEM768 (TLS group 0x11EC), which carries a 1,216-byte key share. This makes the TLS 1.3 ClientHello about 1.5 KB. That's larger than a typical TCP segment (1,460 bytes), so it's sent in two or more packets. Devices that expect the whole ClientHello in one packet, or that can't parse the new key exchange, drop or reset the connection. Because the ClientHello isn't encrypted, this can happen even when TLS inspection is turned off.
The ClientHello can also list the post-quantum signature algorithms ML-DSA-44, ML-DSA-65, and ML-DSA-87 (0x0904, 0x0905, and 0x0906) in the signature_algorithms extension. AKS components don't list ML-DSA in the signature_algorithms_cert extension, where some IPS signatures written for CVE-2020-1967, an OpenSSL issue, flag it as an attack.
Both the key exchange and the signature algorithms follow the TLS 1.3 standard, which requires servers and middleboxes to ignore parameters they don't recognize (RFC 8446, section 9.3). Browsers, operating systems, and other TLS libraries are adopting the same algorithms, so your own applications will need these network paths to work too.
What to do
Complete these steps before April 30, 2027, or before you move clusters to Kubernetes 1.38, whichever comes first:
- Identify every firewall, NVA, proxy, IPS, and TLS inspection policy that traffic from your AKS node and pod subnets passes through, both to the internet and to other virtual networks.
- Ask your vendor whether each device meets these requirements, and what it needs if it doesn't (a software version, new threat-prevention content, or a policy change):
- Accepts TLS 1.3 ClientHello messages of 1.5 KB or larger that arrive in multiple TCP segments.
- Allows the
X25519MLKEM768key exchange (0x11EC). If the device decrypts TLS, it should support this key exchange or negotiate another one without resetting the connection. - Doesn't block or flag ClientHello messages that list ML-DSA signature algorithms (
0x0904to0x0906).
- Apply your vendor's fix to any device that doesn't meet these requirements.
- Validate each network path by running the test in Validate your network path below, from a node or from another machine that uses the same network path.
- If the test fails, check the device logs for resets, drops, or threat events from your AKS subnets, and apply your vendor's fix. As a temporary measure, work with your security team to add a narrowly scoped exception for traffic from your AKS subnets. For example, exclude the specific threat signature, or exclude the AKS-required endpoints from TLS inspection.
You can't opt AKS-managed components out of this behavior. Don't change the images or settings of AKS-managed add-ons, because AKS reverts those changes.
Validate your network path
This test takes a few minutes. It runs a short Go program that connects to each endpoint with the same post-quantum TLS handshake as AKS components, and sends one HTTPS HEAD request. Because the test brings its own Go 1.27, you can run it before your clusters use the new handshake. Run it on one of your nodes (option A) or on another machine that uses the same network path (option B). On a node, it uses the node's network, and the node's HTTP proxy settings if you configured them, so its traffic takes the same path as the kubelet and containerd. It doesn't check server certificates, send credentials, or change the node.
Don't use curl or openssl s_client for this check. They send a different TLS handshake, so they can succeed even when AKS components fail.
Option A: test from a node
Before you begin:
- You need
kubectlaccess that lets you create debug pods on nodes. If a policy in your cluster blocks debug pods, use option B. - The node pulls
mcr.microsoft.com/oss/go/microsoft/golang:1.27-azurelinux3.0, the Microsoft build of Go container image (about 300 MB, available for amd64 and arm64).
Step 1. List your nodes, and choose one Linux node in each node pool or subnet that you want to test:
kubectl get nodes -o wide
Step 2. Start a debug container on the node:
kubectl debug node/<node-name> -it --profile=general \
--image=mcr.microsoft.com/oss/go/microsoft/golang:1.27-azurelinux3.0 -- bash
If the image pull fails, the node can't reach mcr.microsoft.com. Fix that first; see Outbound network and FQDN rules for AKS clusters.
Step 3. Paste the following script into the debug container. It finds the API server address that the kubelet uses and tests it, together with the main AKS endpoints. To test other endpoints, such as your container registry (<registry>.azurecr.io), key vault (<vault>.vault.azure.net), or private endpoints, add their host names to the end of the last line.
# Use Go's own TLS stack, so the test always offers the post-quantum key exchange.
# ms_tlsmldsacert=0 makes images older than Go 1.27.4 send the same handshake as Go 1.27.4.
export GOPROXY=off GOTOOLCHAIN=local MS_GOTOOLCHAIN_TELEMETRY_ENABLED=0 MS_GO_NOSYSTEMCRYPTO=1 GODEBUG=ms_tlsmldsacert=0
mkdir -p /tmp/pqtlscheck && cd /tmp/pqtlscheck
cat > main.go <<'EOF'
// Sends one HTTPS HEAD request to each host by using Go's default TLS settings,
// which include the post-quantum key exchange X25519MLKEM768.
package main
import (
"crypto/tls"
"fmt"
"net/http"
"os"
"time"
)
func main() {
c := &http.Client{
Timeout: 15 * time.Second,
// Don't follow redirects, so the test contacts only the hosts you list.
CheckRedirect: func(*http.Request, []*http.Request) error { return http.ErrUseLastResponse },
Transport: &http.Transport{
// Use HTTPS_PROXY and NO_PROXY, like AKS components do.
Proxy: http.ProxyFromEnvironment,
// Skip certificate checks: the API server uses your cluster's own CA, and
// TLS-inspecting firewalls present their own certificates.
TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
},
}
for _, h := range os.Args[1:] {
if r, err := c.Head("https://" + h); err != nil {
fmt.Println("FAIL", h, err)
} else {
r.Body.Close()
fmt.Println("PASS", h)
}
}
}
EOF
# Use the node's HTTP proxy settings, if any (clusters configured with an HTTP proxy).
if [ -z "${HTTPS_PROXY}${https_proxy}" ] && [ -f /host/etc/environment ]; then
while IFS= read -r l; do export "${l//\"/}"; done < <(grep -iE '^(https?_proxy|no_proxy)=' /host/etc/environment)
fi
# Detect the API server address that the kubelet uses.
API_SERVER_FQDN=${API_SERVER_FQDN:-$(sed -n 's#.*server: *https://\([^:/]*\).*#\1#p' /host/var/lib/kubelet/kubeconfig 2>/dev/null | head -n1)}
echo "API server FQDN: ${API_SERVER_FQDN:-<not found - set API_SERVER_FQDN and rerun>}"
go run main.go $API_SERVER_FQDN mcr.microsoft.com login.microsoftonline.com management.azure.com packages.aks.azure.com packages.microsoft.com
The output has one line for each endpoint. A FAIL line includes the error, such as connection reset by peer, EOF, or Client.Timeout exceeded. For example:
API server FQDN: mycluster-dns-a1b2c3d4.hcp.eastus.azmk8s.io
PASS mycluster-dns-a1b2c3d4.hcp.eastus.azmk8s.io
FAIL mcr.microsoft.com Head "https://mcr.microsoft.com": read tcp 10.224.0.4:41022->203.0.113.10:443: read: connection reset by peer
PASS login.microsoftonline.com
Step 4. If an endpoint shows FAIL, run this command for it in the same debug container. curl doesn't send the new handshake, so it shows whether the endpoint is reachable at all. It prints an HTTP status code, or 000 if it can't connect.
curl -kIsS -m 15 -o /dev/null -w '%{http_code}\n' https://<host>
Step 5. Review the results:
| Result | What it means | Next step |
|---|---|---|
Every endpoint shows PASS. |
This network path is ready. | None. Test again after you change or upgrade network devices. |
An endpoint shows FAIL, and curl prints a status code other than 000, such as 200, 400, or 401. |
A device in the path rejects the new TLS handshake. | Check the device's logs for resets, drops, or threat events from the node's IP address, and apply your vendor's fix. See What to do above. |
An endpoint shows FAIL, and curl prints 000 and an error. |
A general connectivity problem that isn't specific to this change, such as a missing allow rule or a DNS, routing, or proxy issue. | Check your outbound rules, DNS, routes, and proxy settings. |
Step 6. Exit the debug container, and then delete the debug pod:
kubectl delete $(kubectl get pods -o name | grep node-debugger-<node-name>)
Option B: test from another machine in the same network
Use a virtual machine that uses the same subnet and route table as your nodes, or the same proxy. For Windows node pools, use a machine that uses the same network path as your Windows nodes. Get your API server address with az aks show --resource-group <resource-group> --name <cluster-name> --query fqdn -o tsv, and then use one of these methods:
-
With Docker: Run
docker run --rm -it mcr.microsoft.com/oss/go/microsoft/golang:1.27-azurelinux3.0 bash. In the container, setAPI_SERVER_FQDNto your API server address, setHTTPS_PROXYandNO_PROXYif you use a proxy, and then paste the script from step 3. -
With Go 1.27.4 or later installed from go.dev, on Linux, Windows, or macOS: Save the Go program from the script in step 3 (the lines between
cat > main.go <<'EOF'andEOF) asmain.go. SetHTTPS_PROXYandNO_PROXYif you use a proxy, and then run the following command. Don't use Go 1.27.0 to 1.27.3: they also list ML-DSA insignature_algorithms_cert, so they can fail on devices that AKS components pass.go run main.go <api-server-fqdn> mcr.microsoft.com login.microsoftonline.com management.azure.com packages.aks.azure.com packages.microsoft.com
Then review the results as described in steps 4 and 5.
If you see these errors
If your clusters show these symptoms:
- Run the test in Validate your network path above, and check your firewall, proxy, or IPS logs for resets, drops, or threat events from your AKS subnets.
- Apply your vendor's fix or a narrowly scoped exception, as described in What to do above.
- If you suspect an issue with Azure rather than a device in your network, create a support request and mention this issue.
For more troubleshooting help, see:
- Troubleshoot AKS outbound connections
- Basic troubleshooting for Node Not Ready problems
- Troubleshoot AKS image pull errors
FAQ
Can I opt out or keep the old behavior? No. AKS manages these components and their TLS settings, and the change reaches every cluster as components are updated.
Can my clusters get the new behavior before April 30, 2027?
Yes, if they run Kubernetes 1.38 or later. Kubernetes 1.38 and later use the post-quantum key exchange from the start, as soon as that version is available on AKS. Validate your network paths before you create clusters with Kubernetes 1.38 or upgrade to it. If your paths aren't ready, stay on an earlier Kubernetes version until they are. Clusters on the rapid auto-upgrade channel move to Kubernetes 1.38 automatically when it's generally available. Clusters on earlier Kubernetes versions get the new behavior from April 30, 2027.
Why is AKS making this change? Post-quantum key exchange helps protect encrypted traffic against attackers who record it now and try to decrypt it later with a quantum computer. Go 1.27 and later support it by default, and new Kubernetes versions and their dependencies require Go 1.27 or later. Go 1.26 stops receiving security updates when Go 1.28 is released, which is expected in February 2027. Kubernetes 1.38 and later use the post-quantum key exchange from the start. On earlier Kubernetes versions, AKS starts using it on April 30, 2027, to give you time to prepare.
Does turning off TLS inspection fix the problem? Not always. IPS signatures and application identification read the ClientHello even when decryption is turned off, because the ClientHello isn't encrypted. Check every inspection feature on the device.
Will updating my firewall affect my clusters today? No. Devices that support these handshakes keep working with current AKS components, so you can update them now.
Are private clusters affected? Yes. In a private cluster, traffic between nodes and the API server stays on your private network. But traffic to Microsoft Artifact Registry, Microsoft Entra ID, and other endpoints, and private traffic that passes through a hub firewall, can still pass through an inspecting device.
Are Windows node pools affected? Yes. AKS components on Windows nodes use the same TLS behavior. Run the test in Validate your network path from a Linux node, or use option B from a machine that uses the same network path as your Windows nodes.
Is Azure Firewall affected? No action is needed now for traffic that passes only through Azure Firewall. We'll update this issue if that changes.
What about my own applications?
Applications built with Go 1.27 or later, and other up-to-date TLS clients, send similar handshakes, so fixing your network path helps them too. Applications built with Go 1.27.0 to 1.27.3 also list ML-DSA in signature_algorithms_cert, which some IPS signatures block. Starting with Go 1.27.4, Go no longer lists ML-DSA in that extension, so rebuild these applications with Go 1.27.4 or later. The Microsoft build of Go 1.27.2-2 and 1.27.3-1 also support GODEBUG=ms_tlsmldsacert=0, which stops listing ML-DSA in signature_algorithms_cert. Go 1.27.4 and later don't need it, and the Microsoft build of Go 1.27.4-1 removed this setting. As a temporary workaround for your own Go applications only, GODEBUG=tlsmlkem=0 turns off the post-quantum key exchange. These settings don't apply to AKS-managed components.
References
- Outbound network and FQDN rules for AKS clusters
- Customize cluster egress with outbound types
- Configure AKS nodes with an HTTP proxy
- Connect to AKS cluster nodes
- Go 1.27 release notes
- Microsoft build of Go: TLS settings
- golang/go#81199: ML-DSA signature algorithms and TLS-inspecting middleboxes
- golang/go#82536: Go 1.27.4 omits ML-DSA from signature_algorithms_cert
- RFC 10024: Post-quantum traditional (PQ/T) hybrid key agreement mechanisms for TLS 1.3
- IETF draft: ML-DSA in TLS 1.3
- RFC 8446, section 9.3: Protocol invariants
- tldr.fail: compatibility problems with large ClientHello messages
The X25519MLKEM768 key share makes the ClientHello about 1.2 KB larger, so it often spans two TCP segments or TLS records. Middleboxes, firewalls or parsers that expect it in one packet drop or reset the connection; updating that device, or temporarily offering X25519 alone, confirms the cause.
Step-by-step guide: https://ather-quantum.com/guides/enable-x25519mlkem768-nginx To verify from outside (which group the server actually negotiates): https://ather-quantum.com/?domain=yourdomain