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