{"action":"closed","issue":{"url":"https://api.github.com/repos/KnisterPeter/vscode-github/issues/304","repository_url":"https://api.github.com/repos/KnisterPeter/vscode-github","labels_url":"https://api.github.com/repos/KnisterPeter/vscode-github/issues/304/labels{/name}","comments_url":"https://api.github.com/repos/KnisterPeter/vscode-github/issues/304/comments","events_url":"https://api.github.com/repos/KnisterPeter/vscode-github/issues/304/events","html_url":"https://github.com/KnisterPeter/vscode-github/issues/304","id":295374274,"number":304,"title":"support github enterprise with self-signed certificate","user":{"login":"lihuanshuai","id":4586647,"avatar_url":"https://avatars2.githubusercontent.com/u/4586647?v=4","gravatar_id":"","url":"https://api.github.com/users/lihuanshuai","html_url":"https://github.com/lihuanshuai","followers_url":"https://api.github.com/users/lihuanshuai/followers","following_url":"https://api.github.com/users/lihuanshuai/following{/other_user}","gists_url":"https://api.github.com/users/lihuanshuai/gists{/gist_id}","starred_url":"https://api.github.com/users/lihuanshuai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lihuanshuai/subscriptions","organizations_url":"https://api.github.com/users/lihuanshuai/orgs","repos_url":"https://api.github.com/users/lihuanshuai/repos","events_url":"https://api.github.com/users/lihuanshuai/events{/privacy}","received_events_url":"https://api.github.com/users/lihuanshuai/received_events","type":"User","site_admin":false},"labels":[{"id":477675713,"url":"https://api.github.com/repos/KnisterPeter/vscode-github/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-02-08T03:34:43Z","updated_at":"2018-03-16T06:45:39Z","closed_at":"2018-03-16T06:45:39Z","author_association":"CONTRIBUTOR","body":"My company use github enterprise with a self-signed certificate. Every time I want execute any commands of this extension to do some operation on github enterprise, it will throw \r\n\r\n```\r\nError: request to https://github.intra.example.com/api/v3/repos/huanshuai/repo failed, reason: self signed certificate in certificate chain\r\n```\r\n\r\nlike error and failed.\r\n\r\nI think it may be due to bug similar to bitinn/node-fetch#19, the solution could be creating a workspace config item for whether reject self-signed certificate or not. If the solution is ok, I could pr for this (maybe days) later"}}
{"actor":{"display_login":"lihuanshuai"}}