You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

72 lines
1.6 KiB

Index: CSP.pm
--- CSP.pm.orig 2002-09-24 20:33:20 +0200
+++ CSP.pm 2005-05-02 18:58:32 +0200
@@ -1523,12 +1523,12 @@
CSP is designed to easily handle multiple distinct Certificate Authorities.
Hence the name which stands for Certificate Service Provider.
-= item o
+=item o
CSP can be used to produce a web site (certificate repository, CRLs etc etc)
without the need for cgi-scripts.
-= item o
+=item o
CSP tries to be as PKIX-compliant as OpenSSL allows.
@@ -1551,22 +1551,22 @@
writer or some other means for making backups of the certificate directory.
Day to day operations include the following tasks.
-= over 4
+=over 4
-= item 1
+=item 1
Issuing certificates based on pkcs10 or out-of-band (non pkcs10) requests.
-= item 2
+=item 2
Backing up the csp main directory (see below) to read-only medium.
-= item 3
+=item 3
Producing the public web site and exporting it (typically using floppy or
zip-drive) to your web server.
-= back
+=back
=head1 CONFIGURATION
Index: csp
--- csp.orig 2001-05-28 13:32:14 +0200
+++ csp 2005-05-02 19:18:12 +0200
@@ -1,6 +1,9 @@
-#!/usr/bin/perl
+#!@l_prefix@/bin/perl
-use lib './blib/lib';
+$ENV{OPENSSL} = '@l_prefix@/bin/openssl' if (not defined($ENV{OPENSSL}));
+$ENV{CSPHOME} = '@l_prefix@/var/csp/ca' if (not defined($ENV{CSPHOME}));
+
+use lib '@l_prefix@/libexec/csp';
use CSP;
use Getopt::Long;
@@ -120,6 +123,9 @@
my $home = $ENV{CSPHOME} || 'ca';
+die "Panic: Cannot write to \$CSPHOME \"$home\""
+ unless -w $home;
+
mkdir "$home/csp",00755 unless -d "$home/csp";
$name eq '--list' and