summaryrefslogtreecommitdiff
path: root/create-ca.sh
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2024-01-14 08:25:40 +0300
committerEvgeny Zinoviev <me@ch1p.io>2024-01-14 08:25:40 +0300
commit999de1a4fcdeab220818193d2e496a06fe32d695 (patch)
tree5e2def9c10e6e206c40bb7ce39eba98ad99567dd /create-ca.sh
initialHEADmaster
Diffstat (limited to 'create-ca.sh')
-rwxr-xr-xcreate-ca.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/create-ca.sh b/create-ca.sh
new file mode 100755
index 0000000..6ff0b37
--- /dev/null
+++ b/create-ca.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+openssl genrsa -des3 -out ca.key 4096
+openssl req -new -x509 -days 3650 -key ca.key -out ca.crt
+