-
Notifications
You must be signed in to change notification settings - Fork 596
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
Github PR enterprise sign in not work after putting up PAT #4804
Comments
Did the "GitHub: Pull Requests" view show pull requests after you signed in? |
Have the same issue. Getting this output:
I can enter anything when asked for the PAT certifcate it will always show the same error. Vscode Version: 1.78.2 |
@burhbayr I think this means that your organization has misconfigured their GitHub Enterprise server: https://stackoverflow.com/questions/31673587/error-unable-to-verify-the-first-certificate-in-nodejs @TylerLeonhardt FYI in case there is something we can do in GitHub Enterprise auth to work around this. |
@chrmarti would this be a proxy thing? |
@burhbayr Could you install the Network Proxy Test extension (https://marketplace.visualstudio.com/items?itemName=chrmarti.network-proxy-test) and check the output of If you cannot install the extension through the Extensions viewlet in VS Code, you can use the |
@chrmarti I am getting this output, but unfortunately i don´t know how to intepret this. Note: Make sure to replace all sensitive information with dummy values before sharing this output. VS Code 1.78.2 (b3e4e68a0bc097f0ae7907b217c1119af9e03435) Settings:
Environment variables: Sending GET request to https://myfirm-enterprise/... Sending GET request to https://myfirm-enterprise/ (allowing unauthorized)...
Last certificate not verified by OS root certificates. This might indicate an issue with the root certificates registered in your OS:
Fingerprint has a valid value. |
It looks like 'MyfirmIssuing2017' is a CA certificate used for signing your server certificate. Make sure the 'MyfirmIssuing2017' certificate is part of the trusted root certificates in the OS. You can use |
I will try to add this. |
Needed to copy the 'MyfirmIssuing2017 certificate in certmgr from Intermediate Certification Authorities to Trusted Root Authorities. After a restart from VSCode i could login into the github Enterprise! |
They might consider the Intermediate Certification Authorities when trying to verify the last certificate in the certificate chain returned from the server. This seems to be a recurring pattern with intranet CAs. Continuing in microsoft/vscode#177139. Thanks. |
Github PR enterprise sign in not work after putting up PAT
Steps to Reproduce:
1.Click the profile icon "sign in with <** enterprise github uri> to use github pull reuqest" on the bottom left
2.add PAT in github with required permission
3.go back to vscode and paste the github in the prompt, hit enter.
4. nothing happened. there's no message indicating whether the action succeeded or failed and what's the next step.
The text was updated successfully, but these errors were encountered: