【Charles】After setting the proxy, the browser access prompts that your connection is not a private link

Charles set up a proxy and encountered that your connection is not a private link

enter picture description


Problem Description:

The reason for this problem is that the proxy tool of charles intercepts the request of the web page, but the certificate of the proxy tool of charles is used, which makes the browser unable to verify the certificate of this web page, which leads to an error, so how to solve it? We only need to add Charles's certificate to the computer's trust certificate. (If the mobile phone installs the certificate on the mobile phone, ensure that the mobile phone and the computer are under the same wifi, and set the proxy, and visit the browser: chls.pro/ssl )

进入Charles的Help中,选择SSL Proxying,然后点击Install Charles Root Certificate。

insert image description here
As shown in the figure, our Charles certificate is not trusted by the system at this time, so every time we visit the website, a certificate problem will be reported, and then we click to install the certificate.
insert image description here
You can choose the installation location of the certificate. I chose the local computer, which can be used by all users, or for safety, you can also choose to install it only for the current user, so other windows users will not be installed with this certificate;

insert image description here
Then select a manual storage location for the certificate, otherwise the automatically selected certificate location is still not trusted.
insert image description here
Then click Browse, we manually specify the storage location of the certificate as: "Trusted Root Certification Authority" and click OK to complete the import

—At insert image description here
this time, if you drive Charles to visit the website again, is it possible to visit normally? If you still report the certificate problem, try to restart the computer, and you can access normally after restarting.

Guess you like

Origin blog.csdn.net/CWN_11/article/details/129622695