daiqiangbudainiu

ios11 抓包失败

  •  
  •   daiqiangbudainiu · Dec 16, 2017 · 6327 views
    This topic created in 3072 days ago, the information mentioned may be changed or developed.

    如题,我已经在手机上装上了 charles 的证书 打开微信,支付宝,百度输入法等等 app,https 的抓包都提示错误

    Client SSL handshake failed - Remote host closed connection during handshake
    You may need to configure your browser or application to trust the Charles Root Certificate. See SSL Proxying in the Help menu.
    

    难道是还有哪块的设置不对吗?

    5 replies    2017-12-16 18:51:47 +08:00
    coolcoffee
        1
    coolcoffee  
       Dec 16, 2017
    部分应用使用了 Certificate Pinning,只相信特定的证书或者来自特定的 issuer 的证书。该情况下 MitM 无法正常工作。(如 iOS 系统对 apple.comicloud.com 的相关请求)

    来源: https://medium.com/@Blankwonder/surge-mitm-5281d8ace79d
    BigNerd
        2
    BigNerd  
       Dec 16, 2017
    Charles 采用的是中间人攻击,它自生成的证书不被服务端信任 。
    iCodex
        3
    iCodex  
       Dec 16, 2017
    有没有信任这个证书?另外,你的 charles 版本是不是太低太老了?
    WildCat
        4
    WildCat  
       Dec 16, 2017 via iPhone   ❤️ 1
    @coolcoffee
    @BigNerd
    @iCodex



    新版 iOS 需要再次设置
    EagleB
        5
    EagleB  
       Dec 16, 2017 via iPhone
    如果楼市的都不行,看看 keychain 有没有设置信任
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1519 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 16:46 · PVG 00:46 · LAX 09:46 · JFK 12:46
    ♥ Do have faith in what you're doing.