码迷,mamicode.com
首页 > Web开发 > 详细

Charles抓取HTTPS数据包方法

时间:2019-11-02 14:03:35      阅读:133      评论:0      收藏:0      [点我收藏+]

标签:获取   ddr   方法   image   help   hat   href   cert   取证   

  1. 设置代理端口8888
    技术图片
  2. ssl代理设置
    技术图片
  3. 允许所有地址连接
    技术图片
  4. 手机获取证书之前,先在电脑安装证书,需要信任。
    help-->ssl-proxying-->Install Charles Root Certificate
    技术图片
  5. help-->ssl-proxying-->Install Charles Root Certificate on Mobile Device or Remote Browser...
    技术图片
  6. 手机访问:chls.pro/ssl
    若出现如下错误:
    Charles Error Report
    Name lookup failed for remote host Charles failed to resolve the name of the remote host into an IP address. Check that the URL is correct.
    The actual exception reported was: java.net.UnknownHostException: http: unknown error Charles Proxy, http://www.charlesproxy.com/
    需要在电脑上加上DNS:114.114.114.114
    然后访问,下载证书,证书是pem格式,需要把后缀改成crt。

也可以选择导入证书。下载证书要保证手机和电脑是互通的。可以关掉防火墙,杀软等。

Charles抓取HTTPS数据包方法

标签:获取   ddr   方法   image   help   hat   href   cert   取证   

原文地址:https://www.cnblogs.com/youyouyunduo/p/11781222.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!