原文:Android 解决apk打包过程中出现的“Certificate for doesn't match any of the subject alternative names: [*.aktana.com, aktana.com]”的问题

有时候,apk打包过程中会出现 Certificate for lt jcenter.bintray.com gt doesn t match any of the subject alternative names: .aktana.com, aktana.com 的错误。 这是因为本地计算机不能从jcenter.bintray.com上获取编译所需的某些jar包 被墙了 。 比如我的错误是: ...

2019-06-08 20:50 0 582 推荐指数:

查看详情

自签证书 doesn't match any of the subject alternative names

出现这个的原因是https中的域名或者IP,与证书中登记的不一致。 如果是自签证书的话,可以根据具体需要重新生成证书。 还有一种解决方案是在java中跳过这个检查。 绕过检查分两类,一个是绕过证书在CA备案的检查,一个是绕过url和证书中记录IP或域名的检查 未完待续。。。 ...

Thu Dec 27 00:03:00 CST 2018 0 1965
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM