Skip to content
Advertisement

How to solve `CERTIFICATE_VERIFY_FAILED` error when install gcloud?

I tried to install gcloud in MacOs but failed. I tried two python versions 3.7.4 and 3.9.1 but both have the same issue. how can I install the gcloud? Is there any other dependencies I need?

JavaScript

Advertisement

Answer

There could be many possible reasons for this error, proxy configuration would be the one but as you mentioned you have no proxy configured to your network so, the cause could be something else. In order to Authenticate whether this error has occurred due to proxy or not, you can try running below commands:

JavaScript

If you get a different output from the above mentioned one then, you’re behind a proxy or portal.

You can refer to this stackoverflow thread, where a cloud support user has given an answer by providing various possible reasons that could cause this SSL error, he has also provided the workaround for resolving this error. Try disabling antivirus settings, if there is any such software installed.

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement