Charles Grab Bag (iOS Http/https request)

Source: Internet
Author: User
Tags getssl ssl certificate

1. Charles Installation

Download and install Charles:

2. HTTP Grab bag (1) View computer IP address

650) this.width=650; "src=" Https:// "title=" QQ20170329-144335@2x.png "alt=" Wkiol1jbv7gixsjwaakusarutjm443.png "/>

(2) Set up the phone HTTP proxy

To set up an HTTP proxy, connect your phone to your computer, and click WiFi with Wireless LAN
Server for computer IP address: such as
PORT: 8888

650) this.width=650; "src=" Https:// "title=" 2469183-ad19fa10a1815cbc.png "alt=" Wkiom1jbv-swzgmfaadel57p0_m009.png "/>

3. HTTPS Grab Bag

HTTPS grab packets need to be set up on HTTP capture

(1) Install SSL certificate to mobile device

Click Help, SSL proxying, Install Charles Root Certificate on a Mobile Device

650) this.width=650; "src=" Https:// "title=" 2469183-8f47a1b1c1540ef7.png "alt=" Wkiol1jbwyrdjixhaaktw12xhmw559.png "/>

The pop-up window gets address Http://

650) this.width=650; "src=" Https:// "title=" 2469183-c7f6ad4a204b0bd4.png "alt=" Wkiom1jbw0cqr-5baabtehnlonq894.png "/>

Enter the address in your mobile Safari browserHttp://, the Certificate Installation page appears, click Install
the phone is set with a password to enter the password to install
(Note: There are brothers and sisters who say Safari browser enter this URLHttp:// not install the certificate, the pro-test to (1) set up a good phone HTTP proxy (2) on the computer Charles to open

650) this.width=650; "src=" Https:// "title=" 2469183-7ed4a5c8c2a36217.png "alt=" Wkiol1jbw47joycyaacmplfvymw397.png "/>

(2) Charles set proxy

Proxy--SSL proxying Settings ...

650) this.width=650; "src=" Https:// "title=" QQ20170329-150227@2x.png "alt=" wkiol1jbxngbyrs9aaqmj1qpow8524.png "/> Tick enable SSL proxying, click Add

650) this.width=650; "src=" Https:// "style=" float : none; "title=" 2469183-11eb2be75eae13fb.png "alt=" Wkiom1jbxt2stot3aacppdsq5nc160.png "/>

host completed:
Port filled in: 443

650) this.width=650; "src=" Https:// "style=" float : none; "title=" 2469183-ca37de9cdb920511.png "alt=" Wkiol1jbxuhwzfleaakddvjxmug211.png "/>

(3) make HTTPS grab packet

Let the phone resend the HTTPS request, you can see the clutch

650) this.width=650; "src=" Https:// "title=" 2469183-5f1b21912781d466 (1). png "alt=" Wkiol1jbxzds-ddwaaq3s43nr7u579.png "/>

This article from "front-end" blog, declined reprint!

Charles Grab Bag (iOS Http/https request)

Related Article

Cloud Intelligence Leading the Digital Future

Alibaba Cloud ACtivate Online Conference, Nov. 20th & 21st, 2019 (UTC+08)

Register Now >

11.11 Big Sale for Cloud

Get Unbeatable Offers with up to 90% Off,Oct.24-Nov.13 (UTC+8)

Get It Now >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.