原文: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