diff options
| author | bt <bt@rctt.net> | 2026-05-24 16:29:03 +0200 |
|---|---|---|
| committer | bt <bt@rctt.net> | 2026-05-24 16:29:03 +0200 |
| commit | c9c7a085c744d5023f932b2a0a6dba08153d2ba7 (patch) | |
| tree | 9ba4de4868032d6ed60f340430533f8fd70badf7 /tools/key-gen.sh | |
| parent | 164428421ef950ee9572287fd9ade8876ed4bfe5 (diff) | |
| download | solec-c9c7a085c744d5023f932b2a0a6dba08153d2ba7.tar.gz solec-c9c7a085c744d5023f932b2a0a6dba08153d2ba7.zip | |
[daemon] Add TLS support
Diffstat (limited to 'tools/key-gen.sh')
| -rwxr-xr-x | tools/key-gen.sh | 5 |
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" |
