原文:npm install 时报错 'self signed certificate in certificate chain'

最近在使用npm全局安装vue cli时报错:self signed certificate in certificate chain。 最终解决办法是运行命令:npm set strict ssl false 取消npm的https认证 ,原因是npm install默认走的是https协议,需要通过数字证书来保证的 。 备注:SSL Secure Sockets Layer安全套接层 ,及其 ...

2020-08-06 16:54 0 623 推荐指数:

查看详情

git提交时报错self signed certificate

git提交时报错:fatal: unable to access 'http:.git/': SSL certificate problem: self signed certificate git 未能顺利结束 (退出码 1) 解决方法: 在git bash中运行git 自带的配置命令 ...

Fri Sep 06 21:55:00 CST 2019 0 757
node https请求时self signed certificate in certificate chain错误

node业务中调用https请求时,经常都会爆出一个异常的错误,查了一下是证书过期,但是axios已经设置了忽略证书了,还是报错: 最后在网上找到方法,在请求代码之前加上 解决了当前https报的self signed certificate ...

Tue Nov 12 22:33:00 CST 2019 0 2174
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM