Skip to content

Commit 1a489f6

Browse files
zioalexmhils
andauthoredMar 11, 2024
docs: how to create the proper CA (mitmproxy#5370)
Co-authored-by: Maximilian Hils <[email protected]>
1 parent a8603ca commit 1a489f6

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed
 

‎CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010
* Fix multipart form content view being unusable.
1111
([#6653](https://github.com/mitmproxy/mitmproxy/pull/6653), @DaniElectra)
12+
* Documentation Improvements on CA Certificate Generation
13+
([#5370](https://github.com/mitmproxy/mitmproxy/pull/5370), @zioalex)
1214

1315
## 07 March 2024: mitmproxy 10.2.4
1416

‎docs/src/content/concepts-certificates.md

+6
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,12 @@ use it to generate certificates:
191191
X509v3 Basic Constraints: critical
192192
CA:TRUE
193193

194+
For example, when using OpenSSL, you can create a CA authority as follows:
195+
196+
```shell
197+
openssl req -x509 -new -nodes -key ca.key -sha256 -out ca.crt -addext keyUsage=critical,keyCertSign
198+
cat ca.key ca.crt > mitmproxy-ca.pem
199+
```
194200

195201
## Using a client side certificate
196202

0 commit comments

Comments
 (0)
Please sign in to comment.