From 2d51d1ef50b9f78937d15330566927f6e3d48025 Mon Sep 17 00:00:00 2001 From: Alex Bramley Date: Tue, 16 Feb 2010 06:35:57 +0000 Subject: [PATCH] Finish up script documentation. --- doc/ca-init.pod | 6 ++- doc/ca-renew-cert.pod | 0 doc/ca-revoke-cert.pod | 92 ++++++++++++++++++++++++++++++++++++++++++ doc/revoke-cert.txt | 18 --------- 4 files changed, 96 insertions(+), 20 deletions(-) mode change 100644 => 100755 doc/ca-renew-cert.pod create mode 100755 doc/ca-revoke-cert.pod delete mode 100644 doc/revoke-cert.txt diff --git a/doc/ca-init.pod b/doc/ca-init.pod index ba2a91d..5b475ec 100755 --- a/doc/ca-init.pod +++ b/doc/ca-init.pod @@ -27,8 +27,10 @@ B [B<-h>] | [B<--help>] B reads the ca-scripts configuration file and generates an openssl(1) configuration file and an X.509 certificate and key suitable for use as an -x509(1) certificate authority. The format of the ca-scripts configuration file -is documented in ca-scripts.conf(5). +x509(1) certificate authority. It can also optionally generate an HTML file +with MD5 and SHA1 fingerprints suitable for publishing the CA certificate and +the CRL. The format of the ca-scripts configuration file is documented in +ca-scripts.conf(5). =head1 OPTIONS diff --git a/doc/ca-renew-cert.pod b/doc/ca-renew-cert.pod old mode 100644 new mode 100755 diff --git a/doc/ca-revoke-cert.pod b/doc/ca-revoke-cert.pod new file mode 100755 index 0000000..d1c9d96 --- /dev/null +++ b/doc/ca-revoke-cert.pod @@ -0,0 +1,92 @@ +#! /bin/sh + +if [ -z "$1" -o "$1" == "man" ]; then + exec /usr/bin/pod2man -n CA-REVOKE-CERT -s 1 -d "12 February 2010" \ + -r "ca-scripts version 0.9" -c "SSL Certificate Authority utilities" $0 +elif [ "$1" == "html" ]; then + exec /usr/bin/pod2html --title "ca-revoke-cert(1)" < $0 +elif [ "$1" == "text" ]; then + exec /usr/bin/pod2text -o $0 +fi +echo "Unrecognised output format '$1', try man, html, or text." +exit 1 + +=pod + +=head1 NAME + +ca-revoke-cert - revoke a certificate and re-generate CRL + +=head1 SYNOPSIS + +B -t I [B<-f> I] [B<-i> I