“SSL主机无法验证”错误 [英] "SSL host could not be verified" error

查看:232
本文介绍了“SSL主机无法验证”错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每当我尝试通过eclipse火星连接git时,我输入了bitbucket URL,如本网站中的说明。

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 /

问题发生在网站链接中的步骤9中。然后,当我单击下一步时,会出现以下错误。

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


.git在存储库URL结尾处丢失//我尝试了SSL验证错误再次发生。)
无法验证SSL主机。 (在Git配置中设置http.sslVerify = false)

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

如何解决该SSL主机问题并传递给第10步网站链接?

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

推荐答案

根据我的经验,它似乎发生在Windows下,具有某些配置的Eclipse(不确定哪些) 。

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

转到Eclipse首选项 - >团队 - > Git - >配置,然后单击添加条目...

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

将http.sslVerify作为键,将false作为值(无引号)。

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

在克隆资料库窗口中将您的用户/密码(不要离开git,因为在Windows下没有配置ssh-key,我想)。

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

如果需要,在Git Repository视图中,检查您的新存储库的属性,并检查remote.origin.url是否具有您的用户名而不是git(否则在身份验证期间,您将拥有一个带有git的灰色用户名文本框)。

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

这篇关于“SSL主机无法验证”错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆