Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows Subsystem Linux AZ CLI DevOps Query SSLError #1418

Open
wallyatkins opened this issue Jul 22, 2024 · 1 comment
Open

Windows Subsystem Linux AZ CLI DevOps Query SSLError #1418

wallyatkins opened this issue Jul 22, 2024 · 1 comment

Comments

@wallyatkins
Copy link

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name
az boards query Extension Name: azure-devops. Version: 1.0.1.

Errors:

The Azure DevOps Extension for the Azure CLI does not support Azure DevOps Server.
Error occurred in request., SSLError: HTTPSConnectionPool(host='omitted', port=443): Max retries exceeded with url: /adfs/ls?version=1.0&action=signin&realm=urn%3AAppProxy%3Acom&appRealm=omitted&returnUrl=omitted%2F_apis&client-request-id=omitted (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)')))

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • Put any pre-requisite steps here...
  • az boards query --output table --wiql "select [id], [Work Item Type], [Title] from workitems

Expected Behavior

return a table of the WIQL results

Environment Summary

Linux-5.15.153.1-microsoft-standard-WSL2-x86_64-with-glibc2.35, Ubuntu 22.04.4 LTS
Python 3.11.8
Installer: DEB

azure-cli 2.62.0

Extensions:
azure-devops 1.0.1

Dependencies:
msal 1.28.1
azure-mgmt-resource 23.1.1

Additional Context

@wallyatkins
Copy link
Author

Initially cURL was not happy with the SSL cert but after adding the cert to the WSL environment using the openssl s_client to retrieve the certificate, moving the cert to the appropriate locations, and then updating the CA certificates cURL is happy with making the HTTP request.

What is the AZ CLI using to make it's HTTP requests in the WSL environment?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant