Skip to content

AZ AKS Needs to support Larger CAs #32000

@scoronado-usn

Description

@scoronado-usn

Describe the bug

Sending request in here based on a Support Ticket exchange in the Azure US Government

We are trying to add our Internal Certificate Authority to AKS and, the command fails because we have too many certificates.

scoronado@XXXXXXX:~/Desktop$ az aks update -g $NAME_OF_RG -n $NAME_OF_CLUSTER  --custom-ca-trust-certificates $LARGE_CA_CRT
Only up to 10 new-line separated CAs can be passed, got 49 instead.

As you can tell, our Certificate Authority is very large and we have requirements to connect to different websites that are terminated with the public CA. There are, in fact 49 Certificates inside this file.

scoronado@XXXXXXX:~/Desktop$ grep "BEGIN CERTIFICATE" $LARGE_CA_CERT | wc -l 
49

Related command

az aks update -g $NAME_OF_RG -n $NAME_OF_CLUSTER --custom-ca-trust-certificates $LARGE_CA_CRT

Errors

Only up to 10 new-line separated CAs can be passed, got 49 instead.

Issue script & Debug output

Can't reproduce here

Expected behavior

We expect the cluster to update with all of our certificates.

Environment Summary

azure-cli                         2.76.0

core                              2.76.0
telemetry                          1.1.0

Extensions:
aks-preview                    18.0.0b27

Dependencies:
msal                            1.33.0b1
azure-mgmt-resource               23.3.0

Python location '/opt/az/bin/python3'
Config directory '/home/scoronado/.azure'
Extensions directory '/home/scoronado/.azure/cliextensions'

Python (Linux) 3.12.10 (main, Jul 29 2025, 09:28:48) [GCC 13.3.0]

Legal docs and information: aka.ms/AzureCliLegal

Your CLI is up-to-date.

Additional context

I would prefer to sideload all of the CAs so that we do not have to start manually downloading certs from a different website.

Metadata

Metadata

Assignees

No one assigned

    Labels

    AKSaz aks/acs/openshiftAuto-AssignAuto assign by botService AttentionThis issue is responsible by Azure service team.bugThis issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions