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