The remote certificate is invalid because of errors in the certificate chain: UntrustedRoot


在本地 A 服务接口调用本地 B 服务接口,出现了如题错误。

其实很简单。windows trust localhost ssl  cert

那么如何添加呢?

1、运行 mmc

2、添加证书单元

3、打开个人证书(Person/Certificates),找到 localhost 证书,拷贝并粘贴到可信根域证书(Trusted Root Certification Authorition/Certificates)即可

 

参考网址:https://zhuanlan.zhihu.com/p/100719798

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM