IDEA通过git连接远程Gitee或者GitHub报错:unable to access ‘……’:error setting certificate verify locations
![在这里插入图片描述](https://img-blog.csdnimg.cn/20210225154830420.png#pic_center)
错误如上图显示;
该错误是由于通过HTTPS访问Git远程仓库,如果服务器的SSL证书未经过第三方机构签署,那么Git就会报错;因此就需要让Git忽略SSL证书。
解决方案:
进入git-bash窗口,输入命令:
git config --global http.sslVerify "false
![在这里插入图片描述](https://img-blog.csdnimg.cn/20210225155745429.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80NTE0NDI1NA==,size_16,color_FFFFFF,t_70#pic_center)
再重新连接一下就可以了。