android - 在 Android 模拟器上安装自定义证书时,两个凭据使用选项 "VPN and apps"与 "Wifi"有什么区别?

标签 android ssl-certificate emulation

我正在尝试在 Android 模拟器上安装 Charles 证书,我注意到有两个凭据使用选项:“VPN 和应用程序”和“Wi-Fi”。

enter image description here

我试着四处寻找有关这两个选项的解释,但我发现的一个只是说“选择一个适合你的用例”。
这两个选项有什么区别?开发者应该选择哪一个?

最佳答案

WiFi 选项用于验证 WiFi 网络,而 VPN 和应用程序 用于验证包括浏览器在内的应用程序的 SSL/TLS 通信证书。

我还可以确认 VPN 和应用程序 是为 Charles 的 Android 设备代理 HTTPS 请求的正确选择。

You can use digital certificates to identify your device for a variety of purposes, including VPN or Wi-Fi network access as well as authentication to servers by apps such as Email or Chrome. If you plan to use certificates for Wi-Fi authentication, be sure to select the Wi-Fi option from the menu described below.

来源:https://support.google.com/nexus/answer/2844832?hl=en

关于android - 在 Android 模拟器上安装自定义证书时,两个凭据使用选项 "VPN and apps"与 "Wifi"有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29356816/

相关文章:

android - 将相同的图库图像加载到两个不同的 Activity fragment 中 Android Picasso

java - 为什么 ActivityCompat.requestPermissions() 只接受 0-255 之间的整数请求码?

android - 无法在 Android 模拟器 - Windows 上运行 React-Native 应用程序

ios - 无法启动 Cordova iOS 模拟器 - Mac 上的 PhoneGap

java - 如何在Android模拟器上测试sensormanager?

android - 如何获取我的应用程序的移动数据使用情况(例如使用 TrafficStats)?

java - 我可以用 Java 创建自签名证书,它会自动被 Web 浏览器信任吗?

amazon-web-services - AWS 上的 Multi-Tenancy 应用程序 - 多个 SSL 证书安装策略

grails - 在 HTTPS 上运行 Grails

java - 如何将overlayItem 对象添加到数组中?