google cloud cli installation

i got this error while trying to install google cloud cli
requests.exceptions.SSLError: HTTPSConnectionPool(host='dl.google.com', port=443): Max retries exceeded with url: /dl/cloudsdk/channels/rapid/components-2.json (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)')))

1 1 424
1 REPLY 1

Hello @mohamed_amin,

Welcome to Google Cloud Community!

Take a look at this Stackoverflow Post as you might have the same problem.

Also, you can disable the SSL verification by running the command below:

gcloud config set auth/disable_ssl_validation True

If the above options don't work, you can contact Google Cloud Support to further look into your case. Hope it helps, thanks!