Skip to content

Instantly share code, notes, and snippets.

@gcbw
Last active March 24, 2017 05:05
Show Gist options
  • Save gcbw/f6af07203b2d07c04c940dff9045f5b4 to your computer and use it in GitHub Desktop.
Save gcbw/f6af07203b2d07c04c940dff9045f5b4 to your computer and use it in GitHub Desktop.
gbarros charles proxy

Instructions

Save the file bellow as anything_you_want.pem

The easiest way to save it is to click the raw button to see only the text, and then use your browser's file>save menu.

On Firefox, open the Options screen. Click the Advanced tab. Then click the Certificates tab and then the view certificates button.

Click Import and search the file you just saved. If you forgot were, just save it again :)

Select the option: Trust this CA to identify websites (it is usually the first, but may change, so check the text) and click OK.

End of part 1.

Now close all the certificate windows and go back to Firefox's Advanced options. Now click the Network tab. And then the Settings... button next to "Connection"

Now set proxy to Manual and enter:

Http Proxy: 10.75.202.24 Port: 8888

and check: [X] Use this proxy for all protocols

Click ok and you are done.

The more you know

common sense says to never trust a proxy like this. Test logged off if possible. And disable the proxy as soon as you are done.

To disable the proxy, on Firefox:

Options > Avanced > Settings... (next to Connection) > [x] No Proxy > OK and you are done.

Better yet if you also delete the Bogus Certificate. Open the Certificates window, and delete everything with "Charles Proxy" in the name. (should only be one if you followed these instructions).

-----BEGIN CERTIFICATE-----
MIIFRDCCBCygAwIBAgIGAVqlyJYrMA0GCSqGSIb3DQEBCwUAMIGmMTcwNQYDVQQDDC5DaGFybGVz
IFByb3h5IENBICg2IE1hciAyMDE3LCBDMDJKUDE2OUY5NlctbG0pMSUwIwYDVQQLDBxodHRwczov
L2NoYXJsZXNwcm94eS5jb20vc3NsMREwDwYDVQQKDAhYSzcyIEx0ZDERMA8GA1UEBwwIQXVja2xh
bmQxETAPBgNVBAgMCEF1Y2tsYW5kMQswCQYDVQQGEwJOWjAeFw0wMDAxMDEwMDAwMDBaFw00NjA1
MDMyMjQxMTBaMIGmMTcwNQYDVQQDDC5DaGFybGVzIFByb3h5IENBICg2IE1hciAyMDE3LCBDMDJK
UDE2OUY5NlctbG0pMSUwIwYDVQQLDBxodHRwczovL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TAWmzb+QdG0dYFdCGmL6KpkOSpbF4zycwApcEz6VK/tHDQxttChoQoC
BQpJrIr7Jm7eOVEdVc2k7dQdS7LJCj58nYyoIEjVGnAwerEJCNPtyTPD6njPhxfOrUT+7pBATMRv
zdkkXm/7yFP900ycLkkqr2C+WAI94QGdqTuYxjNahN8CDD0dy52Vv8HcR9mlWT7J/hrh7933vhWL
IKo6omxjbutgn1JAZ1rYR9EG3SPV28WMKMo3RAGq5lpy2oNKeTM/P2gzhBLpMQkNytNycUwNlT2O
Bdep6HhZ6q/k0UpRJ2yMtAkDPIKmb2TkpRl18GLhXGknnk00zPoWIag=
-----END CERTIFICATE-----
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment