summaryrefslogtreecommitdiffstats
path: root/tools/key-gen.sh
diff options
context:
space:
mode:
authorbt <bt@rctt.net>2026-05-24 16:29:03 +0200
committerbt <bt@rctt.net>2026-05-24 16:29:03 +0200
commitc9c7a085c744d5023f932b2a0a6dba08153d2ba7 (patch)
tree9ba4de4868032d6ed60f340430533f8fd70badf7 /tools/key-gen.sh
parent164428421ef950ee9572287fd9ade8876ed4bfe5 (diff)
downloadsolec-c9c7a085c744d5023f932b2a0a6dba08153d2ba7.tar.gz
solec-c9c7a085c744d5023f932b2a0a6dba08153d2ba7.zip
[daemon] Add TLS support
Diffstat (limited to 'tools/key-gen.sh')
-rwxr-xr-xtools/key-gen.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/key-gen.sh b/tools/key-gen.sh
new file mode 100755
index 0000000..14957d4
--- /dev/null
+++ b/tools/key-gen.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+openssl req -x509 -newkey rsa:4096 \
+ -keyout key.pem -out cert.pem \
+ -sha256 -days 3650 -nodes \
+ -subj "/C=XX/ST=TEST/L=TEST/O=TEST/OU=TEST/CN=TEST"