The following error is being displayed:
az command data logger: HTTPSConnectionPool(host=’api.github.com’, port=443): HTTPSConnectionPool(host=’api.github.com’, port=443): HTTPSConnectionPool(host=’api.github.com’, port=443): HTTPSConnectionPool(host=’api.github.com’, port= With the url: /repos/Azure/bicep/releases/latest, the maximum number of retries has been reached. (SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE VERIFY FAILED] certificate verify failed: unable to retrieve local issuer certificate (_ssl.c:1125)’)) is to blame.
I tried the following methods. But it didn’t work: 1)I created REQUESTS CA BUNDLE and pointed to a.pem file that I downloaded from api.github.com [.crt].
I’m using Azure CLI 2.31.0, which is the most recent version.
Asked by Reshma
Here are a couple fixes for the above issue, as provided by @TrevorBrooks. If you’re using Corporate proxy, here’s what you’ll need to know:
To set up Azure cli using a co-operate proxy, follow these steps:
For example :
NOTE: After adding the environment variable, the Terminal must be rebooted.
Please see this blog for further information.
Answered by AjayKumarGhose-MT
Post is based on https://stackoverflow.com/questions/70301778/installing-biceps-with-azure-cli-getting-ssl-certificate-verify-failed-certifi