admin管理员组文章数量:1604458
问题描述
通过自带的浏览器打开chls.pro/ssl下载证书文件,无法安装,提示“没有可安装的证书”。
原因
是因为小米手机默认开启了迅雷下载引擎,导致下载的证书文件内容不正确,所以无法安装。
错误的证书文件内容
正确的证书文件内容
解决办法
在【下载管理】中关闭迅雷引擎重新下载证书,安装即可。
1
2
3
4
注意事项
经过测试,在【下载管理】中直接点击打开,即使证书格式正确也无法安装,如下图。遇到这种情况可以在【文件管理器】中Download目录下找到该文件,点击安装
今天用charles抓包,忽然发现很多https抓不到了,显示为unknown,安装了证书也不管用。看到官网有这样一段话,大概的意思就是从安卓7往后,只能抓自己的app的数据包了:
As of Android N, you need to add configuration to your app in order to have it trust the SSL certificates generated by Charles SSL Proxying. This means that you can only use SSL Proxying with apps that you control.
In order to configure your app to trust Charles, you need to add a Network Security Configuration File to your app. This file can override the system default, enabling your app to trust user installed CA certificates (e.g. the Charles Root Certificate). You can specify that this only applies in debug builds of your application, so that production builds use the default trust profile.
————————————————
版权声明:本文为CSDN博主「DoraemonHC」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn/imaoxingren888/article/details/104330913
版权声明:本文标题:小米手机安装charles 证书提示 无法安装证书 no certifites to install 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/dianzi/1728460959a1158967.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论