Push failed: Unable to access '**.git/': could not could not load PEM client certificate, LibreSSL

完整的报错是:

15:06    Push failed: Unable to access 'https://github.com/FantasyEngineer/imageglide.git/': could not load PEM client certificate, LibreSSL error error:02FFF002:system library:func(4095):No such file or directory, (no key found, wrong pass phrase, or wrong file format?)
 

为了更好的使用github, 本地使用了ssh协议,并且将rsa的密钥填写到了我的github中.但是发现我的所有的代码都share不到github上了.错误报错就是上面的.

浪费了我1个钟头. 反复检查. 最后解决办法就是:

将提交的https的仓库地址的换成ssh.  我的ssh地址是[email protected]:FantasyEngineer/flutter_app.git

如图点击remotes,将远程连接的仓库改成ssh地址即可.

Push failed: Unable to access '**.git/': could not could not load PEM client certificate, LibreSSL_第1张图片

重新push即可发现. 搞定.

 

 

ssh本地密钥的生成与github的绑定过程也共享出来了. 

https://blog.csdn.net/qq_32508519/article/details/91977804

你可能感兴趣的:(报错解决)