When using VDI, I encountered a self-signed certificate issue (I find VDI environments similar to internal corporate VPNs). My development environment is Windows 11 (VDI) with IntelliJ IDEA 2024. I resolved it by following these steps:
- Open github.com.
- Click on the lock🔒 icon to the left of the browser address bar on github.com.
- Verify that the connection is secure.
- To the left of the "Close" button, click on "Show Certificate."
- Go to the "Details" tab.
- Click the "Export" button.
- Open IntelliJ IDEA.
- Navigate to "Settings."
- Under "Tools," select "Server Certificate."
- Click "Add."
- Choose the certificate you exported earlier.
- Click "OK."
Now your GitHub Copilot should work.