iOS development--using Charles for HTTPS network capture

Source: Internet
Author: User

In the previous two blogs, "The introduction and use of the Web Capture tools Charles", "iOS development--using Charles for HTTP network capture" details of Charles's HTTP capture package. Today we are going to implement an HTTPS grab packet, which is a bit more troublesome than the HTTP grab.

(1) HTTPS basic configuration, please refer to the "Network capture tool Charles's introduction and use" In the HTTPS configuration section.

(2) due to the current iOS9 changes to the HTTPS network security mechanism, so also need to install a certificate on the iphone, the installation method is as follows:

Enter the URL directly in the iphone's Safari browser: Http://www.charlesproxy.com/getssl. Install the custom root certificate. After the installation is complete, you can access the settings-------------------to see all your installed certificates So far, for the HTTPS capture, at least two certificates have been installed, the first one is in the "Network capture tool Charles's introduction and use" installed.

(3) So far, the configuration of HTTPS has been completed, we open any iphone app to view the results of the capture package:



Where HTTP starts with HTTP capture, the HTTPS packet is generated by HTTPS. If you do not configure the HTTPS grab packet, then the HTTPS front is a lock, grasping the packet is the success of the show Blue Ball.


One of the HTTPS capture results is as follows: Some about the use of methods, parameters of the introduction of the same HTTP grab, refer to "iOS development-using Charles for HTTP network capture detailed".

.


Summing up, grasping the package in the actual development is still very useful, but also in the network programming is an essential link. It is recommended that you combine the two blogs in front of me to learn about the introduction and use of the Web Capture tool, "iOS development – using Charles for an HTTP Web Capture".



GitHub home: https://github.com/chenyufeng1991. Welcome everyone to visit!

The recent Geek College wiki is in the development of IT career skills Atlas, I am mainly responsible for iOS direction, everyone interested can participate together, there are problems or changes can directly send me issues or pull request. Https://github.com/chenyufeng1991/skillmap.


iOS development--using Charles for HTTPS network capture

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.