From 3d74096021d95a5073c4d208cc2e31375bd237a1 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Thu, 8 May 2008 13:24:20 +0200 Subject: added a bit of doc (at least something...) --- tools/gnutls/cert-gen-selfsigned | 3 +++ tools/gnutls/cert-show-fingerprint | 4 ++++ 2 files changed, 7 insertions(+) (limited to 'tools/gnutls') 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 -- cgit