summaryrefslogtreecommitdiff
path: root/create-ca.sh
diff options
context:
space:
mode:
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
+