NAME

getcrl.sh - CRL downloader and installer


SYNOPSIS

getcrl.sh [-s] URL


DESCRIPTION

getcrl.sh downloads a CRL from the URL, verifies it against root certificates directory and installs it into a CRL directory for use of OpenSSL-based applications. Both direcotries use the OpenSSL directory structure (see x509(1), crl(1)).


OPTIONS

-s

Log output messages to standard error, as well as the system log. unless
this option is set no output is generated which is suitable for L<cron(8)>
jobs.


RETURN VALUE

getcrl.sh returns one of the following exit values:

  1. 0 Success.
  2. 1 Error in options and/or arguments
  3. 2 Error creating temporary working directory
  4. 3 Error downloading the CRL
  5. 4 Error parsing the CRL
  6. 5 The CRL could not be verified
  7. 6 The CRL could not be installed


AUTHOR

Milan Sova


DISTRIBUTION

Program home: http://tools.cesnet-ca.cz/getcrl/


COPYRIGHT AND LICENSE

Copyright 2005 by Milan Sova, <sova@cesnet.cz>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.


HISTORY

$Revision: 1.2 $