diff options
Diffstat (limited to 'doc-src/certinstall')
-rw-r--r-- | doc-src/certinstall/firefox.html | 8 | ||||
-rw-r--r-- | doc-src/certinstall/osx.html | 6 | ||||
-rw-r--r-- | doc-src/certinstall/windows7.html | 39 |
3 files changed, 15 insertions, 38 deletions
diff --git a/doc-src/certinstall/firefox.html b/doc-src/certinstall/firefox.html index f661a619..06a38e21 100644 --- a/doc-src/certinstall/firefox.html +++ b/doc-src/certinstall/firefox.html @@ -1,13 +1,15 @@ -### 1: Open preferences, click on "Advanced", then select"Encryption": +### 1. If needed, copy the ~/.mitmproxy/mitmproxy-ca-cert.pem file to the target. + +### 2: Open preferences, click on "Advanced", then select"Encryption": <img src="@!urlTo('firefox3.jpg')!@"/> -### 2: Click "View Certificates", "Import", and select the certificate file: +### 3: Click "View Certificates", "Import", and select the certificate file: <img src="@!urlTo('firefox3-import.jpg')!@"/> -### 3: Tick "Trust this CS to identify web sites", and click "Ok": +### 4: Tick "Trust this CS to identify web sites", and click "Ok": <img src="@!urlTo('firefox3-trust.jpg')!@"/> diff --git a/doc-src/certinstall/osx.html b/doc-src/certinstall/osx.html index bcb72f50..f0f34d24 100644 --- a/doc-src/certinstall/osx.html +++ b/doc-src/certinstall/osx.html @@ -2,11 +2,7 @@ ### 1: Open Finder, and double-click on the mitmproxy ca.pem file. -### 2: You will be prompted to add the certificate. Click "Add": - -<img src="@!urlTo('osx-addcert.png')!@"/> - -### 3: Click "Always Trust": +### 2: You will be prompted to add the certificate. Click "Always Trust": <img src="@!urlTo('osx-addcert-alwaystrust.png')!@"/> diff --git a/doc-src/certinstall/windows7.html b/doc-src/certinstall/windows7.html index b8632d56..7e447b4e 100644 --- a/doc-src/certinstall/windows7.html +++ b/doc-src/certinstall/windows7.html @@ -1,40 +1,19 @@ -The Windows certificate manager expects a different certificate format from the -one used by mitmproxy. The easiest way to convert the cert to the appropriate -format is to use the Firefox web browser. +These instructions were tested on Windows 7. +### 1: Copy the ~/.mitmproxy/mitmproxy-ca-cert.p12 file to the target system. -### 1: Make sure Firefox is installed on the system. +### 2: Double-click the certificate file. You should see a certificate import wizard: -### 2: Fire up mitmproxy on the interception host. - -### 3: Configure Firefox to use the mitmproxy interceptor. - -### 4: Using Firefox, browse to an SSL-protected domain. You will see a warning: - - -### 5: Click "I understand the risks" and "Add Exception": - - -### 6: Click "Get certificate", "View", and switch to the "Details" tab: - - -### 7: Click "Export", and save the certificate in "X.509 Certificate (PEM)" format: - - -### 8: Next, start a command prompt, and type "certmgr" to start the Certificate Manager: - - -### 9: From the top menu, select "Action", "All tasks", and then "Import": - - -### 10: Click "Next", and browse to select the cert we just exported from Firefox: - - -### 11: Click "Next", and "Finish" to complete the import. Accept all warning prompts. +<img src="@!urlTo('win7-wizard.png')!@"/> +### 3: Click "Next" until you're prompted for the certificate store: +<img src="@!urlTo('win7-certstore.png')!@"/> +### 4: Select "Place all certificates in the following store, and select "Trusted Root Certification Authorities": +<img src="@!urlTo('win7-certstore-trustedroot.png')!@"/> +### 5: Click "Next" and "Finish". |