SSL handshake error with some Azure CLI commands

后端 未结 4 1719
醉话见心
醉话见心 2021-02-08 02:11

I am using Azure CLI in bash within PowerShell in Windows 10. I sit behind a corporate proxy. My goal is to automate the deployment and setup of Azure resources.

Some of

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-08 02:42

    Having contacted the azure cli team, it appears there is a bug that affects keyvault commands that are run behind a proxy.

    Refer to the following github issue that I created with an in-depth explanation of the issue (and a potential workaround):

    AZURE_CLI_DISABLE_CONNECTION_VERIFICATION does not have any effect for SSL verification

    The above issue is also linked to the following, which appears to be a duplicate:

    Az keyvault secret list --vault_name thru proxy is getting Proxy Authentication Required

    It is also worth mentioning that this issue happens regardless of the platform the azure cli is running on so it is not an environmental issue or a problem when setting environment variables.

提交回复
热议问题