Github Enterprise and HTTPS certs
See original GitHub issueThis is a
- bug report
- feature request
Description
VSCode: 1.28.2 Extension: 2.1.1
I’m using Github Enterprise at the company.
I get this error on trying to dl gists:
GIST ERROR: Could Not Insert > Reason: request to https://github.example.com/api/v3/gists?per_page=9999 failed, reason: unable to verify the first certificate
Our Github Enterprise instance is NOT behind HTTPS proxy. I still set it like this: https://stackoverflow.com/questions/36506539/how-do-i-get-visual-studio-code-to-trust-our-self-signed-proxy-certificate
Predictably, this has not helped.
Unfortunately let’s just say that there is no way to get our GHE to get proper certificates installed.
Obviously, this may be the core VSCode issue and not the one in your extension. If there’s no way to fix this on your side, pls let me know, I’ll open bug report at main VSCode repo.
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Configuring TLS - GitHub Enterprise Server 3.3 Docs
You can configure Transport Layer Security (TLS) on your GitHub Enterprise Server instance so that you can use a certificate that is signed...
Read more >Configuring TLS certificate for Github Enterprise server
Open your domain certificate pem file in Notepad ++. · Add intermediate (DigiCertCA2.pem) certificate under Domain certificate. · Add root ...
Read more >Don't use self signed certificates on GitHub Enterprise
If there is no Git installed on the VM, it will execute an HTTPS fetch from the repository, that will need the self...
Read more >SSH certificate authentication for GitHub Enterprise Cloud
GitHub Enterprise Cloud now supports SSH certificates to give enterprises and organizations more control over how their members access their ...
Read more >Integrate with GitHub | YouTrack Server - JetBrains
If your GitHub Enterprise server has a valid certificate that is signed by a well-known certificate authority (CA), the JVM vendor may have ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It is so annoying that I cannot access gists that I’ve done some investigation myself.
Octokit seems to provide option for an https agent:
Per https://nodejs.org/api/https.html#https_https_globalagent :
So there could be a way of specifying local CA root cert or specific HTTPS cert for this.
If you make a test version of the extension, I’m willing to test it. (never compiled VSCode extension myself so I’m not sure if I can do that correctly, but I can test .vsix file)
https://nodejs.org/api/https.html#https_https_request_options_callback