Exception:SSLHandshakeException

来源:互联网 发布:js让按钮失效 编辑:程序博客网 时间:2024/06/05 05:44

今天apktool解包再重新打包的时候发现新浪微博无法分享了,错误提示:

javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

纠结很久之后发现在apktool在解包之后微博的证书丢失了;解包后把证书拷贝进去,在打包,还是丢失。

更新apktool.jar之后解决了问题,最新版本apktool是v2.0.0RC2,下载地址https://code.google.com/p/android-apktool/,需要JRE 1.7

0 0
原创粉丝点击