-
Select Topic AreaBug BodyHello guys, I am getting issues while trying to activate the github copilot extension in visual studio 2022 pro. When I press Sign in to activate copilot. I get this error: [Error] An error occurred for 'RunOperation:RunOperation': StreamJsonRpc.RemoteInvocationException: Request signInInitiate failed with message: self signed certificate in certificate chain Anyone can help me? I paid for the subscription but am unable to use copilot. |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 10 replies
-
Hey, Aaron from Copilot team here. Shoot me an email at [username] at github dot com and we'll get the ball rolling. |
Beta Was this translation helpful? Give feedback.
-
Fixed. Solution: Open Microsoft Edge (or another browser that shows certificate information). |
Beta Was this translation helpful? Give feedback.
-
Thank you @yk-sd. Nice and succinct, and it works! |
Beta Was this translation helpful? Give feedback.
-
We had to add https://*.copilot-proxy.githubusercontent.com/ as a Trusted Site in Internet Options at our company. |
Beta Was this translation helpful? Give feedback.
-
It worked for me also! Thanks @yk-sd !! |
Beta Was this translation helpful? Give feedback.
-
Thanks @yk-sd , worked for us as well! |
Beta Was this translation helpful? Give feedback.
-
So this has been driving me round the bend for the past month. I finally got this working assuming something like forcepoint proxy is in your way.
You need to go to the certificate select the uppermost cert in the chain and export. You need to save as a pem file but make sure you export the whole chain.
|
Beta Was this translation helpful? Give feedback.
-
Same problem here... How MS can be so bad at providing a product. |
Beta Was this translation helpful? Give feedback.
Fixed.
Solution:
Open Microsoft Edge (or another browser that shows certificate information).
Navigate to the github.com website.
Click on the SSL lock icon next to the address bar.
Click on "Connection is secure".
Click on "Certificate (Valid)".
In the certificate window, select the top-most certificate in the chain (usually the root or intermediate certificate).
Click on "Export" and save the certificate as a .pem file.
Open a Command Prompt as an administrator.
Run the command: (setx NODE_EXTRA_CA_CERTS "C:\path\to\your\certificate.pem"). Replace "C:\path\to\your\certificate.pem" with the actual path to the .pem file that you saved.
Restart Visual Studio.
Copilot should now work.
Note:…