We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f07d19f commit 3eb089cCopy full SHA for 3eb089c
1 file changed
docs/GENERATE_NEW_CACERT.md
@@ -0,0 +1,16 @@
1
+```bash
2
+mkdir -p ~/.deadlight
3
+
4
+openssl genrsa -out ~/.deadlight/ca.key 4096
5
+openssl req -new -x509 -days 3650 \
6
+ -key ~/.deadlight/ca.key \
7
+ -out ~/.deadlight/ca.crt \
8
+ -subj "/CN=deadlight CA/O=deadlight/C=US"
9
10
+chmod 600 ~/.deadlight/ca.key
11
+chmod 644 ~/.deadlight/ca.crt
12
+Install it system-wide so curl and other tools trust it:
13
14
+sudo cp ~/.deadlight/ca.crt /usr/local/share/ca-certificates/deadlight.crt
15
+sudo update-ca-certificates
16
+```
0 commit comments