{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/2990","repository_url":"https://api.github.com/repos/Azure/azure-xplat-cli","labels_url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/2990/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/2990/comments","events_url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/2990/events","html_url":"https://github.com/Azure/azure-xplat-cli/issues/2990","id":163912502,"number":2990,"title":"CLI does not support transparent proxies (or configured CAfile)","user":{"login":"zollman","id":2976989,"avatar_url":"https://avatars1.githubusercontent.com/u/2976989?v=4","gravatar_id":"","url":"https://api.github.com/users/zollman","html_url":"https://github.com/zollman","followers_url":"https://api.github.com/users/zollman/followers","following_url":"https://api.github.com/users/zollman/following{/other_user}","gists_url":"https://api.github.com/users/zollman/gists{/gist_id}","starred_url":"https://api.github.com/users/zollman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zollman/subscriptions","organizations_url":"https://api.github.com/users/zollman/orgs","repos_url":"https://api.github.com/users/zollman/repos","events_url":"https://api.github.com/users/zollman/events{/privacy}","received_events_url":"https://api.github.com/users/zollman/received_events","type":"User","site_admin":false},"labels":[{"id":187436657,"url":"https://api.github.com/repos/Azure/azure-xplat-cli/labels/Team","name":"Team","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":{"login":"amarzavery","id":4521223,"avatar_url":"https://avatars3.githubusercontent.com/u/4521223?v=4","gravatar_id":"","url":"https://api.github.com/users/amarzavery","html_url":"https://github.com/amarzavery","followers_url":"https://api.github.com/users/amarzavery/followers","following_url":"https://api.github.com/users/amarzavery/following{/other_user}","gists_url":"https://api.github.com/users/amarzavery/gists{/gist_id}","starred_url":"https://api.github.com/users/amarzavery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amarzavery/subscriptions","organizations_url":"https://api.github.com/users/amarzavery/orgs","repos_url":"https://api.github.com/users/amarzavery/repos","events_url":"https://api.github.com/users/amarzavery/events{/privacy}","received_events_url":"https://api.github.com/users/amarzavery/received_events","type":"User","site_admin":false},"assignees":[{"login":"amarzavery","id":4521223,"avatar_url":"https://avatars3.githubusercontent.com/u/4521223?v=4","gravatar_id":"","url":"https://api.github.com/users/amarzavery","html_url":"https://github.com/amarzavery","followers_url":"https://api.github.com/users/amarzavery/followers","following_url":"https://api.github.com/users/amarzavery/following{/other_user}","gists_url":"https://api.github.com/users/amarzavery/gists{/gist_id}","starred_url":"https://api.github.com/users/amarzavery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amarzavery/subscriptions","organizations_url":"https://api.github.com/users/amarzavery/orgs","repos_url":"https://api.github.com/users/amarzavery/repos","events_url":"https://api.github.com/users/amarzavery/events{/privacy}","received_events_url":"https://api.github.com/users/amarzavery/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Azure/azure-xplat-cli/milestones/28","html_url":"https://github.com/Azure/azure-xplat-cli/milestone/28","labels_url":"https://api.github.com/repos/Azure/azure-xplat-cli/milestones/28/labels","id":1721544,"number":28,"title":"September 2016 - 0.10.4","description":"Code Freeze - August 31\r\nInstallers publicly available - September 7","creator":{"login":"amarzavery","id":4521223,"avatar_url":"https://avatars3.githubusercontent.com/u/4521223?v=4","gravatar_id":"","url":"https://api.github.com/users/amarzavery","html_url":"https://github.com/amarzavery","followers_url":"https://api.github.com/users/amarzavery/followers","following_url":"https://api.github.com/users/amarzavery/following{/other_user}","gists_url":"https://api.github.com/users/amarzavery/gists{/gist_id}","starred_url":"https://api.github.com/users/amarzavery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amarzavery/subscriptions","organizations_url":"https://api.github.com/users/amarzavery/orgs","repos_url":"https://api.github.com/users/amarzavery/repos","events_url":"https://api.github.com/users/amarzavery/events{/privacy}","received_events_url":"https://api.github.com/users/amarzavery/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":9,"state":"closed","created_at":"2016-04-20T21:33:10Z","updated_at":"2017-01-04T00:37:21Z","due_on":"2016-08-31T07:00:00Z","closed_at":"2016-09-13T03:15:13Z"},"comments":10,"created_at":"2016-07-05T18:13:32Z","updated_at":"2017-11-27T18:52:00Z","closed_at":null,"author_association":"NONE","body":"CLI Version: 0.10.1 (node: 0.12.2)\nOS Type: Mac \nInstallation via:  npm\n\nMode: ASM (but really anything will do)\n\nEnvironment: Azure Cloud\n\nDescription:\nazure cli does not work through transparent SSL-terminating proxies. These proxies are commonly used in highly-regulated industries (PCI, financial services, education, health care) to protect a network perimeter. \n\nBecause an SSL-terminating proxy, by definition, presents certificates that aren't in a public, trusted root, users of these proxies will provision the proxy's SSL certificate to the system trust store. \n\nHowever, NodeJS does not respect the system trust stores -- see https://github.com/nodejs/node/issues/4175 . Any individual project can configure a cafile (e.g. https://github.com/bnoordhuis/node-gyp/commit/8c4b0ffa503aa385f4186e028542dcedca2efeee or npm itself https://docs.npmjs.com/misc/config#cafile).\n\nIdeally you'd add a cacert configuration option, change the azure CLI to respect system truststores (since you're using system storage for credentials), or -- even better -- submit an upstream patch to close https://github.com/nodejs/node/issues/4175 ).\n\nSteps to reproduce:\n1. Set up a transparent SSL proxy, perhaps http://docs.mitmproxy.org/en/latest/transparent/osx.html\n2. Run any azure command (e.g. azure login)\n\nError stack trace:\n- Authenticating...Tue, 05 Jul 2016 18:05:33 GMT:af9a4388-bfa5-417d-979f-303303521d86 - Authority: VERBOSE: Performing instance discovery: https://login.microsoftonline.com/common\n  Tue, 05 Jul 2016 18:05:33 GMT:af9a4388-bfa5-417d-979f-303303521d86 - Authority: VERBOSE: Performing static instance discovery\n  Tue, 05 Jul 2016 18:05:33 GMT:af9a4388-bfa5-417d-979f-303303521d86 - Authority: VERBOSE: Authority validated via static instance discovery.\n  Tue, 05 Jul 2016 18:05:33 GMT:af9a4388-bfa5-417d-979f-303303521d86 - DeviceCodeRequest: INFO: Getting user code info.\n  -Tue, 05 Jul 2016 18:05:37 GMT:af9a4388-bfa5-417d-979f-303303521d86 - OAuth2Client: ERROR: Get Device Code  request failed with\n  Stack:\n  Error: self signed certificate in certificate chain\n  at Error (native)\n  at TLSSocket.<anonymous> (_tls_wrap.js:929:36)\n  at TLSSocket.emit (events.js:104:17)\n  at TLSSocket._finishInit (_tls_wrap.js:460:8)\n  { [Error: self signed certificate in certificate chain] code: 'SELF_SIGNED_CERT_IN_CHAIN' }\n  +\n  error:   self signed certificate in certificate chain\n  info:    Error information has been recorded to /Users/home/.azure/azure.err\n  error:   login command failed\n"},"comment":{"url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/comments/347285705","html_url":"https://github.com/Azure/azure-xplat-cli/issues/2990#issuecomment-347285705","issue_url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/2990","id":347285705,"user":{"login":"yugangw-msft","id":6014209,"avatar_url":"https://avatars1.githubusercontent.com/u/6014209?v=4","gravatar_id":"","url":"https://api.github.com/users/yugangw-msft","html_url":"https://github.com/yugangw-msft","followers_url":"https://api.github.com/users/yugangw-msft/followers","following_url":"https://api.github.com/users/yugangw-msft/following{/other_user}","gists_url":"https://api.github.com/users/yugangw-msft/gists{/gist_id}","starred_url":"https://api.github.com/users/yugangw-msft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yugangw-msft/subscriptions","organizations_url":"https://api.github.com/users/yugangw-msft/orgs","repos_url":"https://api.github.com/users/yugangw-msft/repos","events_url":"https://api.github.com/users/yugangw-msft/events{/privacy}","received_events_url":"https://api.github.com/users/yugangw-msft/received_events","type":"User","site_admin":false},"created_at":"2017-11-27T18:51:59Z","updated_at":"2017-11-27T18:51:59Z","author_association":"CONTRIBUTOR","body":"@Anshapar, like @amarzavery mentioned, please do not use this repository to report CLI 2.0 issue. Also, please check out [installation guide](https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest) to ensure you have right dependencies configured, which is very different from 1.0"}}
{"actor":{"display_login":"yugangw-msft"}}