Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Charles Proxy Causes Privacy Error

Tags:

I'm using Charles to proxy in files from localhost to test features of a facebook game. This was working yesterday, now suddenly turning the proxy on results in a privacy error from Chrome:

"Your connection is not private, NET:ERR_CERT_AUTHORITY_INVALID".

I get similar messages from Safari and Firefox as well. Disabling the Mac OSX proxy allows me to load the game again. Other websites are hit or miss. For example, Google seems to be affected, but not Amazon.

I'm not sure what to check for in Charles's settings, as there's not a lot of documentation for it (and I don't believe I've changed anything since it was working last).

like image 264
Nightmare Games Avatar asked Jul 07 '15 23:07

Nightmare Games


People also ask

How do I remove Charles Proxy certificate from Iphone?

Open the Settings app and navigate to General ▸ Profiles. Under Configuration Profiles, you'll see one or more entries for Charles Proxy. Tap one and then tap Remove Profile. Enter your passcode (if required) and confirm the removal.

Can no longer browse with Charles running?

However, if Charles crashes for some reason it cannot reset (uncheck) the proxy setting. Hence it blocks the browsing afterwards. To fix this go to System Preferences -> Network (1) -> Advanced -> Proxies and uncheck Web Proxy(HTTP) and Secure WebProxy(HTTPS) .


2 Answers

Open Keychain and look for Charles in Certificates. If it shows a red X, double click it, Trust -> Always Trust

like image 115
Pete Maziak Avatar answered Oct 02 '22 10:10

Pete Maziak


Something I had done in Keychain must have wiped out Charles's SSL certificate. I reinstalled by going to Help -> SSL Proxying -> Install Charles Root Certificate. Everything seems to work after that.

like image 27
Nightmare Games Avatar answered Oct 02 '22 09:10

Nightmare Games