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

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章