summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rwxr-xr-xutils/keygen.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/keygen.sh b/utils/keygen.sh
new file mode 100755
index 0000000..8dd0119
--- /dev/null
+++ b/utils/keygen.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+openssl req -x509 -batch -newkey rsa:2048 -keyout server.key -nodes -days 365 -out server.crt
+chmod 0400 server.key server.crt
+