“SSL host could not be verified” error

淺唱寂寞╮ 提交于 2019-12-30 06:48:43

问题


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?


回答1:


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).



来源:https://stackoverflow.com/questions/31663010/ssl-host-could-not-be-verified-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!