Azure / Azure/azure-cli

az bicep install fails

Open
#28,044 13 comments 0 reactions 1 assignee Claimed by @torreymicrosoft View on GitHub
act-identity-squad Auto-Assign Auto-Resolve bug customer-reported Service Attention Similar-Issue
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### Describe the bug

I'm still getting the error on this closed issue

[https://github.com/jiasli/azure-notes/blob/master/cli/proxy-cert-win.md](https://github.com/jiasli/azure-notes/blob/master/cli/proxy-cert-win.md)

I followed the directions from that bug

[https://github.com/Azure/azure-cli/issues/25471#issuecomment-1432567050](https://github.com/Azure/azure-cli/issues/25471#issuecomment-1432567050)

But I still cannot get bicep to install locally and we are not using any proxy servers of any kind. My co-workers are able to execute

az bicep install

without issue. I am able to install using the same on my personal laptop but on my work laptop where I need it most, i continue to get the error

az bicep install
**Error while attempting to retrieve the latest Bicep version: HTTPSConnectionPool(host='aka.ms', port=443): Max retries exceeded with url: /BicepLatestRelease (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1006)'))).**

![image](https://github.com/Azure/azure-cli/assets/38870260/6556b9dd-e617-4d01-9656-c08c25ec4449)

### Related command

az bicep install

### Errors

Error while attempting to retrieve the latest Bicep version: HTTPSConnectionPool(host='aka.ms', port=443): Max retries exceeded with url: /BicepLatestRelease (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1006)'))).

### Issue script & Debug output

Error while attempting to retrieve the latest Bicep version: HTTPSConnectionPool(host='aka.ms', port=443): Max retries exceeded with url: /BicepLatestRelease (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1006)'))).

### Expected behavior

Install bicep

### Environment Summary

azure-cli 2.55.0

core 2.55.0
telemetry 1.1.0

Dependencies:
msal 1.24.0b2
azure-mgmt-resource 23.1.0b2

Python location 'C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\[OMITTED]\.azure\cliextensions'

Python (Windows) 3.11.5 (tags/v3.11.5:cce6ba9, Aug 24 2023, 14:38:34) [MSC v.1936 64 bit (AMD64)]

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.