|
| 1 | +# Firefox Setup for HTTPS Proxy Interception |
| 2 | + |
| 3 | +Firefox is the recommended browser for HTTPS interception because it allows you to create isolated profiles where you can modify SSL certificate and proxy settings. Unlike some browsers that require system-wide changes, Firefox profiles provide better isolation and security. |
| 4 | + |
| 5 | +!!! warning "Security Considerations" |
| 6 | + Firefox supports multiple profiles, and it's strongly recommended to avoid using your main profile for interception as this can create security risks. Always use a dedicated profile for proxy interception. |
| 7 | + |
| 8 | +## Create a Profile |
| 9 | + |
| 10 | +Create a new Firefox profile specifically for proxy interception: |
| 11 | + |
| 12 | +```console |
| 13 | +firefox --CreateProfile intercept |
| 14 | +``` |
| 15 | + |
| 16 | +## Start Firefox with Your Profile |
| 17 | + |
| 18 | +Launch Firefox using the newly created profile: |
| 19 | + |
| 20 | +```console |
| 21 | +firefox -P intercept |
| 22 | +``` |
| 23 | + |
| 24 | +## Setup a Theme (Optional) |
| 25 | + |
| 26 | +!!! tip "Visual Identification" |
| 27 | + It's highly recommended to set up a distinctive theme for your interception browser. This visual distinction helps you easily identify when you're using the proxy-enabled browser versus your regular browser, reducing the risk of accidental exposure. |
| 28 | + |
| 29 | +## Configure the Proxy Settings |
| 30 | + |
| 31 | +Navigate to Firefox settings and configure the proxy: |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | +After configuring the proxy, HTTP sites like http://example.com/ should work normally, but HTTPS pages will display a security error until you trust the CA certificate. |
| 37 | + |
| 38 | +!!! note "Expected Behavior" |
| 39 | + This SSL error is expected and normal until you complete the CA certificate trust setup in the next section. |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | +## Trust the CA Certificate |
| 44 | + |
| 45 | +To enable HTTPS interception, you need to import and trust your root CA public certificate. |
| 46 | + |
| 47 | +!!! danger "Certificate Security" |
| 48 | + Only trust CA certificates that you have generated yourself or that come from trusted sources. Trusting unknown CA certificates can compromise your security and allow malicious actors to intercept your traffic. |
| 49 | + |
| 50 | +1. Access the certificate settings: |
| 51 | +  |
| 52 | + |
| 53 | +2. Import the certificate: |
| 54 | +  |
| 55 | + |
| 56 | +3. Trust the CA to identify websites: |
| 57 | +  |
| 58 | + |
| 59 | +Once the CA certificate is trusted, Firefox will accept the proxy's certificates for HTTPS sites, enabling successful interception. |
0 commit comments