最近在我的 linux 系统上,我遇到了无法提交到我自己的 github 存储库的问题。当我尝试这样做时,这就是我得到的:
my prompt: > git push --verbose
Pushing to https://github.com/MyUsername/my-repository.git
info: please complete authentication in your browser...
fatal: The SSL connection could not be established, see inner exception.
fatal: The remote certificate is invalid because of errors in the certificate chain: UntrustedRoot
Username for 'https://github.com':
Password for 'https://github.com':
remote: No anonymous write access.
fatal: Authentication failed for 'https://github.com/MyUsername/my-repository.git/'
发生的事情是我得到一个窗口,要求我登录到 github(通过 Web 界面),我这样做,在我的浏览器中获得“授权成功,返回到您的应用程序”页面 - 在我的应用程序中,我显然可以看到我的机器不信任 github。由于某些原因。
我如何说服它实际上可以建立与 github 的安全连接?
如果这很重要,我的系统是 linux mint。