Normally, Charles is used as a proxy to capture packets to deal with online interface problems. Yesterday, after configuring the wifi proxy on the test machine, it suddenly became unable to access the Internet. Later, I found out that the certificate installed on the configured PC and mobile terminal had expired. The default certificate is one year, and yesterday the one-year period expired. After reinstalling the certificate, everything returned to normal.
Take this opportunity to sort out the information collected by previously installing and configuring Charles (all information comes from the Internet):
1. Download address:
https://www.charlesproxy.com/latest-release/download.do
2. Installation tutorial
windows charles installation and usage tutorial
Charles certificate installation, explained in one go
3. Activation code
Charles activation code calculator
4. Mobile terminal system configuration
4.1 ios system
Apple mobile phone agent charles tips (this link is not a private connection)
4.2 Xiaomi
Install Charles certificate on Xiaomi mobile phone
5. Points to note
① After installing the certificate, be sure to restart the browser or monitoring app
to be on the safe side ② After configuring the wifi proxy, be sure to restart the wifi to be on the safe side