Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"SSL host could not be verified" error

Whenever I try to connect the git via eclipse mars, I entered the bitbucket URL as the instructions in this website.

http://crunchify.com/how-to-configure-bitbucket-git-repository-in-you-eclipse/

The problem occurred in the step 9 which is in the website link. Then when I click Next, the following errors occur.

.git is missing at end of repository URL // I tried it but SSL verification error occurred again.) SSL host could not be verified. (set http.sslVerify=false in Git configuration)

How can I solve that SSL host issue and pass to the step 10 which is the website link?

like image 602
Kagutsuchi Avatar asked Jul 27 '15 20:07

Kagutsuchi


People also ask

How do I set SSL to verify false in eclipse?

Configure Eclipse -> Windows -> Preferences -> Team -> Git -> Configuration, and click “Add Entry…” b. Add “http. sslVerify” as key and “false” as value (no quotes).

How do I turn off SSL verification in github?

Prepend GIT_SSL_NO_VERIFY=true before every git command run to skip SSL verification. This is particularly useful if you haven't checked out the repository yet. Run git config http. sslVerify false to disable SSL verification if you're working with a checked out repository already.

What is http sslVerify false?

git config — — global http.sslVerify falseThis error occur when self-signed certificate cannot be verified. By default the git verifies the self-signed certificate every time you push or pull the fixes to and from git server.


1 Answers

In my experience it seems that it happens under Windows with certain configuration of Eclipse (not sure which ones).

Go in Eclipse Preferences -> Team -> Git -> Configuration, and click "Add Entry..."

Put "http.sslVerify" as key and "false" as value (no quotes).

In the "clone repository" window put your user / password (don't leave "git", since there is no ssh-key configured under Windows, I suppose).

If needed, in the Git Repository view, check the properties of your new repository and double check that remote.origin.url has your username rather than "git" (otherwise during authentication you'll have a greyed out username textbox with "git" written in it).

like image 71
pierpytom Avatar answered Oct 16 '22 08:10

pierpytom