diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-05-08 12:42:21 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-05-08 12:42:21 +0200 |
commit | 7abd7f3dc68b3c87fa1ef1617e4f20974e7c965f (patch) | |
tree | e600748ff25dec8341126148bdbb3a54752d127f /tools | |
parent | f027201679ca81e25024315b9ed7e2afeafa8116 (diff) | |
download | rsyslog-7abd7f3dc68b3c87fa1ef1617e4f20974e7c965f.tar.gz rsyslog-7abd7f3dc68b3c87fa1ef1617e4f20974e7c965f.tar.xz rsyslog-7abd7f3dc68b3c87fa1ef1617e4f20974e7c965f.zip |
added simple shell script to support creating self-signed certs
this is necessary to comply to IETF I-D -syslog-transport-tls-12
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/gnutls/cert-gen-selfsigned | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/gnutls/cert-gen-selfsigned b/tools/gnutls/cert-gen-selfsigned new file mode 100755 index 00000000..84e6e6d6 --- /dev/null +++ b/tools/gnutls/cert-gen-selfsigned @@ -0,0 +1,3 @@ +#/bin/sh +certtool --generate-privkey --outfile $1-key.pem +certtool --generate-self-signed --load-privkey $1-key.pem --outfile $1-cert.pem |