如何与查尔斯Web代理服务器,在Windows上最新的Andr​​oid模拟器配置SSL证书? [英] How to configure SSL certificates with Charles Web Proxy and the latest Android Emulator on Windows?

查看:227
本文介绍了如何与查尔斯Web代理服务器,在Windows上最新的Andr​​oid模拟器配置SSL证书?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想用查尔斯Web代理与Windows中的Andr​​oid模拟器的工作。我已经成功地建立了查尔斯,并已开始在命令行模拟器:

I would like to use Charles web proxy to work with the Android emulator in Windows. I've successfully set up charles and have started the emulator with the command line:

emulator -http-proxy 127.0.0.1:8888 @NexusOne

我可以看到从查尔斯Android模拟器的流量来了,但问题是,我正在开发针对现场的API,它使用SSL和我不知道如何配置查尔斯让我打有关的数据,被发送和接收。我知道在哪里SSL是建立在查尔斯两个领域(代理 - >代理设置 - > SSL和代理服务器 - >客户端SSL证书),但我找不到它有让我做什么,我想要做的任何体面的文件。先后与查尔斯,或证书在一般情况下,谁能够解释如何做到这一点的人的经验。也许在证书的底漆将是一件好事,因为我似乎缺乏知识,这是为什么这么难。

I can see traffic coming from the android emulator in Charles, but the problem is that I'm developing against a live API which uses SSL and I'm not sure how to configure Charles to let me play about the the data which is sent and received. I'm aware of two areas where SSL is set up in Charles (Proxy -> Proxy Settings -> SSL and Proxy -> Client SSL Certificates) but I can't find any decent documentation which has let me do what I want to do. Has anyone experience with Charles, or certificates in general, who can explain how to achieve this. Maybe a primer on certificates would be good too, as I seem to be lacking knowledge as to why this is so difficult.

推荐答案

在查尔斯去代理>>代理服务器设置,然后选择SSL选项卡。你的主机添加到位置列表。

In Charles, go to Proxy>>Proxy Settings and select the SSL tab. Add your host to the list of Locations.

例如,如果您的安全呼叫将会 https://secure.example.com ,则可以secure.example进入。 COM,或* .example.com的。

For example, if your secure call is going to https://secure.example.com, you can enter secure.example.com, or *.example.com.

在上面的到位,则可能需要在主查尔斯窗口调用右键单击并选择SSL代理功能选项。

Once the above is in place, you may need to right-click on the call in the main Charles window and select the SSL Proxying option.

希望这有助于。

一B

这篇关于如何与查尔斯Web代理服务器,在Windows上最新的Andr​​oid模拟器配置SSL证书?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆