blob: b8632d567b1555d26c56a779daca71e991dc2c65 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
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.
### 1: Make sure Firefox is installed on the system.
### 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.
|