GitHub CoPilot self-signed certificate error in Intellij

As of 2023-01-25 there has been an issue with GitHub CoPilot plugin on Intellij (and other IDEs supporting GitHub CoPilot as well) that if the machine had self-signed certificates (like in an office laptop) then it would throw following error : Sign in failed. Reason: Request signInInitiate failed with message: self signed certificate in certificate chain, request id: 3, error code: -32603 In this post I am proposing a fix that works fine as of 2023-01-25. ...

January 25, 2023 ยท Siddharth