GIT出问题:SSL certificate problem: unable to get local issuer certificate

579 阅读1分钟

写了点代码,想推倒仓库,推Gitee时很顺利,往Github上推却出错了

> git push origin master
fatal: unable to access '<https://github.com/KILLER2017/delay-task-spring-boot-starter.git/>': SSL certificate problem: unable to get local issuer certificate

似乎是证书的问题,无法获取本地颁发者证书,网上说把SSL证书验证关掉

git config --global http.sslVerify false

但是关掉证书之后又出现了新的问题

Windows PowerShell
warning: | TLS certificate verification has been disabled! |
warning: ---------------------------------------------------
warning: HTTPS connections may not be secure. See <https://aka.ms/gcm/tlsverify> for more information.
Enumerating objects: 17, done.
Counting objects: 100% (17/17), done.
Delta compression using up to 12 threads
Compressing objects: 100% (13/13), done.
Writing objects: 100% (17/17), 7.05 KiB | 1.76 MiB/s, done.
Total 17 (delta 0), reused 0 (delta 0), pack-reused 0
error: RPC failed; HTTP 405 curl 22 The requested URL returned error: 405
send-pack: unexpected disconnect while reading sideband packet
fatal: the remote end hung up unexpectedly
Everything up-to-date
PS D:\Users\YH000240\IdeaProjects\delay-task-spring-boot-starter>

目前还解决不了,有没有大佬教教我