Search code examples
gitgithubintellij-ideaintellij-pluginintellij-14

Unable to connect and clone a project from GitHub using intellij


I am trying to clone a project from github to IntelliJ. I have tried the following steps VCS>> CheckOut From Version Controll >>> Git and tried to clone the project by providing url.

While checking the connection i am getting below error

Clone failed: unable to access 'https://git.company.com/Project.git/': could not load PEM client certificate, OpenSSL error error:02001003:system library:fopen:No such process, (no key found, wrong pass phrase, or wrong file format?)

The url is working fine in web browser. Throwing error only from IDE. Below are the screenshot for Git set up in IDE . enter image description here

How to get rid of this error? Is there any certificate i should add or any settings change?

I have tried git config --global http.sslVerify false and not working!


Solution

  • seems like the ssh mismatch is the error. check if you've added the ssh key properly to your repository. have you tried generating the ssh more than once? then you probably have overwritten the key in your system. if that's the case, add the new key to your repository.