question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

az aks install-cli "certificate verify failed"

See original GitHub issue

Not sure if this is the right place for this but I’m trying to install the Kubernetes cli tools in the Azure portal cloud-cli and am getting a certificate verify failed error

`PS Azure:> az aks install-cli <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749)> Traceback (most recent call last): File “C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\urllib\request.py”, line 1318, in do_open encode_chunked=req.has_header(‘Transfer-encoding’)) File “C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\http\client.py”, line 1239, in request self._send_request(method, url, body, headers, encode_chunked) File “C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\http\client.py”, line 1285, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File “C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\http\client.py”, line 1234, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File “C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\http\client.py”, line 1026, in _send_output self.send(msg) File “C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\http\client.py”, line 964, in send self.connect() File “C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\http\client.py”, line 1400, in connect server_hostname=server_hostname) File “C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\ssl.py”, line 401, in wrap_socket _context=self, _session=session) File “C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\ssl.py”, line 808, in init self.do_handshake() File “C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\ssl.py”, line 1061, in do_handshake self._sslobj.do_handshake() File “C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\ssl.py”, line 683, in do_handshake self._sslobj.do_handshake() ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File “C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\azure\cli\main.py”, line 36, in main cmd_result = APPLICATION.execute(args) File “C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\azure\cli\core\application.py”, line 216, in execute result = expanded_arg.func(params) File “C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\azure\cli\core\commands_init_.py”, line 381, in call return self.handler(*args, **kwargs) File “C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\azure\cli\core\commands_init_.py”, line 630, in execute_command reraise(*sys.exc_info()) File “C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\six.py”, line 693, in reraise raise value File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\azure\cli\core\commands_init.py", line 612, in _execute_command result = op(client, **kwargs) if client else op(**kwargs) File “C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\azure\cli\command_modules\acs\custom.py”, line 286, in k8s_install_cli context=context).read() File “C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\urllib\request.py”, line 223, in urlopen return opener.open(url, data, timeout) File “C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\urllib\request.py”, line 526, in open response = self._open(req, data) File “C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\urllib\request.py”, line 544, in _open ‘_open’, req) File “C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\urllib\request.py”, line 504, in _call_chain result = func(*args) File “C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\urllib\request.py”, line 1361, in https_open context=self._context, check_hostname=self._check_hostname) File “C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\urllib\request.py”, line 1320, in do_open raise URLError(err) urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749)> Azure:`

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

4reactions
miaojiangcommented, Jun 23, 2018

Facing the same issue on Mac when running az aks install-cli, using v2.0.38

Read more comments on GitHub >

github_iconTop Results From Across the Web

CERTIFICATE_VERIFY_FAILED error on "az aks install-cli ...
Describe the bug Command Name az aks install-cli Errors: The command failed with an unexpected error. Here is the traceback:
Read more >
Installing biceps with azure cli, getting SSL ... - Stack Overflow
Installing biceps with azure cli, getting SSL: CERTIFICATE_VERIFY_FAILED certificate verify failed: unable to get local issuer certificate _ssl.
Read more >
Certificate Rotation in Azure Kubernetes Service (AKS)
If the command fails before completing, use az aks show to verify the status of the cluster is Certificate Rotating. If the cluster...
Read more >
azure-cli-acs - PyPI
Microsoft Azure Command-Line Tools ACS Command Module. ... 2.0.29. fix a certificate verification error for az aks install-cli in Cloud Shell / PS ......
Read more >
az aks install-cli "certificate verify failed" - Bountysource
az aks install -cli "certificate verify failed" ... for this but I'm trying to install the Kubernetes cli tools in the Azure portal...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found