在android模拟器上安装CA证书
我正在使用 Android 模拟器 (Pixel_3a_API_32_arm64-v8a),需要在那里安装 Charles Proxy
。按照步骤,我已经设置了 wifi 设置(即将代理更改为手动,然后在 wifi 设置中设置代理主机名
和代理端口
)。另外,我还使用 http://chls.pro/ssl 下载了 SSL 证书。但在尝试安装它时,我的 Android 模拟器出现错误。
错误
This certificate from null must be installed in Settings. Only install CA certificates from organizations you trust.
I am using an android emulator (Pixel_3a_API_32_arm64-v8a) and need to install Charles Proxy
there. As per the step I have already set up the wifi settings(i.e change proxy to manual and then set up the proxy hostname
and proxy port
in the wifi setting). Also, I have downloaded the SSL certificate using http://chls.pro/ssl. But on trying to install it I am getting an error in my android emulator.
Error
This certificate from null must be installed in Settings. Only install CA certificates from organizations you trust.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在最近的 Android 版本中,不再可能安装系统证书,并且安装用户证书要困难得多。无法正常打开文件来安装它,并且应用程序也无法向您显示任何触发安装的提示。
有关更改及其工作原理的更多详细信息,请参阅 https://httptoolkit。 com/blog/android-11-trust-ca-certificates/
您需要的实际步骤是:
On recent Android versions, it's no longer possible to install system certificates, and installing user certificates is much harder. It's not possible to just open the file normally to install it, and apps can't show you any prompts to trigger installation either.
For more details on the change and how this works, see https://httptoolkit.com/blog/android-11-trust-ca-certificates/
The actual steps you need are: