The Fiddler certificate expires and cannot grab the https package

The expiration of the fiddler certificate prevents both the PC and the app from grabbing the https package. Solution:

PC-side steps:

1. Remove the expired fiddler certificate on the PC side, take fiddler4 as an example

Open fiddler-tools-options, and open the fiddler certificate root directory in the order shown below

 Select Personal-Certificate and delete all fiddler certificates in the root directory

2. Generate a new certificate

Fiddler comes with a certificate generator, makecert.exe in the fiddler installation directory, my click does not respond, so I did not use this method

 If you have the same situation as me, you can refer to the method I use:

 After entering the following command in the cmd command window, press Enter

makecert.exe -r -ss my -n  "CN=DO_NOT_TRUST_FiddlerRoot, O=DO_NOT_TRUST, OU=Created by http://www.fiddler2.com" -sky signature -eku 1.3.6.1.5.5.7.3.1 -h 1 -cy authority -a sha1 -m 120 -b 01/07/2023

 Note: The date after -b is the start time of the validity period, and the default is the current time

3. Install the certificate

 Step 3 After exporting the certificate to the desktop, you need to click on the certificate to install it

After the installation is complete, restart fiddler to grab the https package

Mobile terminal steps (ios):

1. Find the expired certificate on the mobile phone and delete it

Settings - general - vpn and device management - remove expired certificates

2. Mobile phone certificate installation

Connect the mobile phone and the computer to the same network, set the proxy on the mobile phone wifi, and then use the sofia browser to search for 192.168.0.0:8888, where 192.168.0.0 is the ipv4address of the computer wifi, and 8888 is the port number set by fiddler. After searching, click the content in the red box to download Certificate.

3. After downloading the successful certificate, enter Settings-General-Vpn and Device Management to install it. After the installation is successful, enter Settings-General-About this machine to open the certificate

common problem:

After the certificate is installed on the mobile phone, the https package cannot be fetched, and the network is unavailable

First of all, first confirm whether the firewall of the computer is turned on, turn off the firewall and try to see if it can be used normally

If you still can't grab https, it may be a compatibility problem. Install the plug-in on the computer. The plug-in address:

https://telerik-fiddler.s3.amazonaws.com/fiddler/addons/fiddlercertmaker.exe

After downloading the plug-in, remove the certificates on the computer and the mobile phone, and perform the above steps again

Guess you like

Origin blog.csdn.net/weixin_50902406/article/details/132022258