-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Description
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.