問題原因
jre訪問http網絡,沒有對應的公鑰證書。
解決辦法
將需要的公鑰證書加入到jre中
命令
keytool -import -alias abc -keystore xxx/xxx/cacerts -file xxx.crt
xxx/xxx/cacerts
androidstudio自帶的jre路徑下的cacerts, 裏面保存着導入的公鑰證書
TODO
待繼續完善和詳細解釋
jre訪問http網絡,沒有對應的公鑰證書。
將需要的公鑰證書加入到jre中
keytool -import -alias abc -keystore xxx/xxx/cacerts -file xxx.crt
androidstudio自帶的jre路徑下的cacerts, 裏面保存着導入的公鑰證書
待繼續完善和詳細解釋