Ubuntu18.04 install Charles and register

Ubuntu18.04 install Charles

Let’s start the installation process

First

Installation Link

wget -q -O - https://www.charlesproxy.com/packages/apt/PublicKey | sudo apt-key add -
sudo sh -c 'echo deb https://www.charlesproxy.com/packages/apt/ charles-proxy main > /etc/apt/sources.list.d/charles.list'
sudo apt-get update
# Charles4 installation
sudo apt-get install charles-proxy
# Charles3 installation(You can have both Charles 4 and Charles 3 installed at the same time.)
sudo apt-get install charles-proxy3

Second

Then the Charles icon will show on your destop,just double click,and register it.
Registered Name: https://zhile.io
License Key: 48891cf209c6d32bf4
在这里插入图片描述

Third

Need to setting browser’s network proxy before use Fiddle.
在这里插入图片描述

Fourth

Now,You can catch http request,but in most of applitcation scenarios we just want to catch https request as we use charles,then we need to config for it.

在火狐浏览器中输入:
chls.pro/ssl
页面会弹出一个窗口,选择信任,这样就在电脑上装好证书了。如果你只是想监控电脑-火狐浏览器的https请求,这样就已经搞定了。

接下来给手机装证书。
在Charles中, 点击Help->SSL Proxying->Install Charles Root Certificate on a Mobile Device or Remote Browser, 来查看当前IP地址下, 手机下载证书的网址.

网址如下,用safari浏览器打开:chls.pro/ssl
提示下载,然后安装。
然后IOS系统更新之后,还需要再进行下面的步骤:
在通用->关于本机->证书信任设置,信任证书就行了。解决了一块心病。

Reference1
Reference2

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值