You can't login to Github to use Github Colpilot in your IntelliJ due to you are using self-certificate.
And you got this error message
Sign in failed. Reason: Request signInInitiate failed with message: self signed certificate in certificate chain, request id: 3, error code: -32603
Assume that you added your self CA cert into your OS "Trusted Root Certification Authorities".
- Export the self-signed certificate in your OS.
- Start > search "Manage user certificates" > "Trusted Root Certification Authorities" > "Certificates" > Right click on your self-signed certificate > "All Tasks" > "Export..."
- Next > Choose "DER encoded binary X.509 (.CER)" > Next > Choose a path to save the certificate > Next > Finish
- Convert the certificate to .pem format.
- Open a terminal >
openssl x509 -inform der -in <exported_cert>.cer -out mycert.pem
- Open a terminal >
- Export the
NODE_EXTRA_CA_CERTS
environment variable.- Start > search "Edit environment variables for your account" > "New..." > Variable name: NODE_EXTRA_CA_CERTS, Variable value: <path_to_mycert.pem>
- Re-start your Intellij and this should now work