diff options
Diffstat (limited to 'tools/gnutls')
-rwxr-xr-x | tools/gnutls/cert-gen-selfsigned | 3 | ||||
-rwxr-xr-x | tools/gnutls/cert-show-fingerprint | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/tools/gnutls/cert-gen-selfsigned b/tools/gnutls/cert-gen-selfsigned index 84e6e6d6..e1c25386 100755 --- a/tools/gnutls/cert-gen-selfsigned +++ b/tools/gnutls/cert-gen-selfsigned @@ -1,3 +1,6 @@ #/bin/sh +# generates a self-signed certificate and key suitable for use with rsyslog +# 2008-05-08, rgerhards +# TODO: make this a robust shell script certtool --generate-privkey --outfile $1-key.pem certtool --generate-self-signed --load-privkey $1-key.pem --outfile $1-cert.pem diff --git a/tools/gnutls/cert-show-fingerprint b/tools/gnutls/cert-show-fingerprint index 1324ef1c..f61c6840 100755 --- a/tools/gnutls/cert-show-fingerprint +++ b/tools/gnutls/cert-show-fingerprint @@ -1,2 +1,6 @@ #/bin/sh +# must be called with the certificate file as first parameter. Displays all +# fingerprints for the first certificate. +# 2008-05-08, rgerhards +# TODO: make this a robust shell script certtool -i < $1|grep Fingerprint |