Before always with the Windows system, grab the package what are used fiddler or wireshark, the operation is relatively simple, the expansion is relatively strong, now because of the work reasons for mac, in the internet has not found fiddler mac version, you can only switch to charles, Although the tools are very much the same, because just changed the operating system, there is a change tool, really a bit too much to Adapt.
The following records the process of locally configuring Charles to record HTTPS Requests.
Charles recorded the HTTPS request, taking the Mac system, Firefox as an example, to record the configuration Process. 1, Charles Install the root certificate, help-->ssl proxying->install Charles Root certificate, automatically open the Keychain Access dialog box, You can see the newly installed "charles proxy Custom Root certificate "certificate, state is generally untrusted, left-click, select" always trust "in Trust to save off
Figure One: Install the root certificate;
Figure Two: Double-click the certificate, select "always trust";
2. Export the certificate to local save Help-->ssl proxying->save Charles Root certificate, Select the local directory, save the exported file, remember the exported folder, you need to manually specify the directory when importing the file;
Figure Iii:3, Open Firefox browser, find the preferences-"advanced-" certificate-"view certificate-" Certificate authority, import just the local certificate and click Ok.
4. Set Cheerless to record the specified HTTPS request
Proxy->ssl proxying Settings Open the Settings dialog box first enable SSL Proxying;add to record the host, click Ok.
finally, when using Firefox to access the request you want to record, you can see detailed request and response information in Charles.
Charles Recording HTTPS request