Fiddler catching iOS device HTTPS package

Source: Internet
Author: User

Objective

Fiddler grab the phone app request, when we test that side will need to grab the app's package to verify the security of the interface, especially the payment interface, but the payment interface is generally HTTPS protocol.

Operating Environment:

1.win7

2.fiddler 5.0

3. Computers and procedures need to be on the same LAN

One. Set up

1.fiddler>tools>fiddler options>connections check Allow remote computers to connect

Two. View computer IP

1.windows key +r input cmd < Enter ipconfig after opening, remember IPV4 address

2. Set up the phone agent

iOS phone settings <wifi< Click the link of the wireless back end small I sign

Select Configure Proxy

Select the manual server (do not lose the wrong, to be consistent with the host name of the computer): Just CMD saw the IPv4 address, Port: Fiddler This is worth 8888 ports

3. Next, we can catch the HTTP packet, many times work needs to catch the HTTPS packet, now many interfaces are HTTPS protocol.

4.app are HTTP requests, is not required to install the certificate, can be caught directly, if the HTTPS request, this time the phone needs to download the certificate

Note: Use the phone to open the browser input:http://192.168.xx.x:8888:< the middle of the host address is the IP address of the machine, the following screen appears

5. Note: Here is I recently encountered a confused problem, the test when catching iOS app HTTPS package, agents, certificates are set up has been unable to catch, very headache!!!

Always appear above two images the H5 page can only load static resources. Frequent error, the final reaction came out of their own made a low-level error, once again to share the hope that colleagues to avoid similar mistakes delay working time, wasting brain cells.

Some of the iOS systems are not necessarily: After installing the Certificate: Settings > General > About Native > certificate Trust authority

After this set up can be a happy test, catch the iOS HTTPS packet unimpeded

Note: Welcome colleagues to give advice to me, a lot of guidance

Fiddler catching iOS device HTTPS package

Related Article

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: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.