summaryrefslogtreecommitdiff
path: root/tools/create-key.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/create-key.sh')
-rwxr-xr-xtools/create-key.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/create-key.sh b/tools/create-key.sh
new file mode 100755
index 0000000..9d29c86
--- /dev/null
+++ b/tools/create-key.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+openssl ecparam -name prime256v1 -genkey -noout -out $1-private.pem
+openssl ec -in $1-private.pem -pubout -out $1.pem