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).
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.
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) .
Open Keychain and look for Charles in Certificates. If it shows a red X, double click it, Trust -> Always Trust
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With