SSL证书问题试图从GitLab存储库中提取

发布于 2025-02-11 08:42:42 字数 710 浏览 0 评论 0 原文

我正在尝试与公司的GitLab存储库一起工作。当我登录并设置evrythin时,我必须生成一个SSH键才能访问存储库。

我对此指南进行了努力: https://docs.gitlab.com/ee/ee/ee/ssh。 html#:〜:text = to%20use%20SSH%20 with%20Gitlab%2C%20cy%20年20年20年度,工作站。%208%208%20Optional.%20 ...%209%209%20select%20ADDD%20Key

我也认为这有效。现在,我的SSH键位于系统主目录中的.ssh文件夹中。如果我尝试通过吉特巴什(Gitbash)推动项目,我会遇到此错误。

SSL证书问题:无法获得本地发行人证书。

显然,该错误表明缺少本地SSL证书,但我不知道该证书应在哪里找到。谁能帮我。

我也不知道这是否与SSH键相连,或者此主题是否完全不同。

i'm trying to work with an Gitlab repository of my Company. When I logged in and set up evrythin i had to generate an SSH Key to get access to the repo.

I did this as assual with this guidance: https://docs.gitlab.com/ee/user/ssh.html#:~:text=To%20use%20SSH%20with%20GitLab%2C%20copy%20your%20public,Workstation.%208%20Optional.%20...%209%20Select%20Add%20key.

I also think that worked. Now my ssh keys are located in the .ssh Folder in the Home directory of the System. If i try to push the Project via the GitBash i'm getting this Error.

SSL certificate problem: unable to get local issuer certificate.

Obviously the Error says that there is an local SSL certificate missing, but i don't know where this certificate should be located. Can anyone help me.

I also don't know if this is overall connected with the SSH key or if this topics are completely different.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

避讳 2025-02-18 08:42:42

如注释,请检查您的远程URL

cd /path/to/repo
git remote -v

是否以 https:// 开始, git远程set-url oilt [email  protected] :you/yourrepo

,并检查您的ssh密钥:

ssh -T [email protected] 

您应该接收 to to Gitlab, @usename! 消息。

As commented, check your remote URL

cd /path/to/repo
git remote -v

If it starts with https://: git remote set-url origin [email protected]:you/yourRepo

And check your SSH key works with:

ssh -T [email protected] 

You should receive a Welcome to GitLab, @username! message.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文