I am using Github copilot 126.96.36.1993 in intellij idea 2021.3.3. When copilot makes calls to http://https://copilot-proxy.githubusercontent.com it returns the following error: "Request Error: unable to verify the first certificate". I have imported the entire certificate chain for this website into Settings/Tools/Server Certificates dialog, and I have even imported into the keystore.of the jre being used to run intellij (Jetbains/<intellij version>/jbr/lib/security/cacerts. I have also tried downloading each certificate in the chain and importing each one using the Server Certificates dialog.
I have tried calling the same url using openssl and trusting the certificate chain using command line options and the call is successful, so it is an intellij issue not something to do with the proxy (there is one - I have setup proxy authentication details under Setting/Appearance and Behaviour/System Setting/HTTP proxy and check connection using the copilot url is successful).
Can anyone help?
Thanks very much,