我正在尝试与公司的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.
发布评论
评论(1)
如注释,请检查您的远程URL
是否以
https://
开始,git远程set-url oilt [email  protected] :you/yourrepo
,并检查您的ssh密钥:
您应该接收
to
to Gitlab, @usename!
消息。As commented, check your remote URL
If it starts with
https://
:git remote set-url origin [email protected]:you/yourRepo
And check your SSH key works with:
You should receive a
Welcome to GitLab, @username!
message.