Skip to content

Azure sql CLI issue with Certificate #22895

@ImtiazSiddiqui

Description

@ImtiazSiddiqui

Azure az sql cli (specifically az sql mi-arc) commands fail even if CA Cert data is provided in the kubeconfig file, it seems az sql cli ignores this CA Certs data in kubeconfig file.

Below is one of the commands that works with 'in-secure' mode, but does not work with strict HTTPS mode
'az sql mi-arc list --k8s-namespace platform-azure-arc --use-k8s -o table'

Other az sql mi-arc create -n flab90sqlmi2 --use-k8s --k8s-namespace platform-azure-arc –debug also fails. I am attaching Debug output file for troubleshooting the issue.

Additional Details:
We were thinking the Azure control plane is being blocked by corporate proxy so Customer tried bypassing the corporate proxy by setting these variables AZURE_CLI_DISABLE_CONNECTION_VERIFICATION and REQUESTS_CA_BUNDLE but it didn't help here.

Attaching debug file here. I engaged Azure Arc for Data Services PG, but couldnt nail down the issue.

debug.txt

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions