英文:
Charles-proxy does not work with android 12
问题
我尝试拦截安卓应用的流量。已在设备上安装了证书,但流量未解密。
在查尔斯(Charles)中,我看到一个错误:“与客户端的SSL握手失败:处理证书时发生未知问题(证书未知)”
- SSL代理已启用以代理主机处于活动状态。
- 证书已安装在智能手机上。
谁遇到过这个问题,以及如何解决它?
英文:
I'm trying to intercept the traffic of an android application. Installed a certificate on the device, but the traffic is not decrypted.
In Charles I see an error "SSL handshake with client failed: An unknown issue occurred processing the certificate (certificate_unknown)"
- Ssl proxy enabled to host is active.
- The certificate is installed on the smartphone.
Who faced this problem and how to solve it?
答案1
得分: 1
能否代理 Android 应用取决于构建时提供的网络安全配置。应用开发者通过一个 XML 声明文件指定在构建时应用程序应该具有的配置。
具体细节可以在 https://developer.android.com/training/articles/security-config 找到。
通常情况下,网络代理功能只在应用的调试版本中可用,以提高客户端应用程序与其使用的后端资源之间的安全性。
英文:
The ability to proxy an android app depends on the network security configuration supplied at build time. The app developer specifies through an xml declaration file the configuration that the app should have when built.
Details of this can be found at https://developer.android.com/training/articles/security-config.
It's more common for network proxying to only be available on debug versions of an app to improve security between the client app and the backend resources it uses.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论