1 diff -ruN openssl-0.9.8a/apps/CA.pl.in openssl-0.9.8a/apps/CA.pl.in |
|
2 --- openssl-0.9.8a/apps/CA.pl.in 2005-07-04 23:44:22.000000000 +0200 |
|
3 +++ openssl-0.9.8a/apps/CA.pl.in 2009-04-21 16:08:45.354925289 +0200 |
|
4 @@ -53,7 +53,7 @@ |
|
5 $X509="$openssl x509"; |
|
6 $PKCS12="$openssl pkcs12"; |
|
7 |
|
8 -$CATOP="./demoCA"; |
|
9 +$CATOP="/etc/openssl"; |
|
10 $CAKEY="cakey.pem"; |
|
11 $CAREQ="careq.pem"; |
|
12 $CACERT="cacert.pem"; |
|
13 diff -ruN openssl-0.9.8a/apps/openssl.cnf openssl-0.9.8a/apps/openssl.cnf |
|
14 --- openssl-0.9.8a/apps/openssl.cnf 2005-09-16 14:20:24.000000000 +0200 |
|
15 +++ openssl-0.9.8a/apps/openssl.cnf 2009-04-21 16:07:13.910980196 +0200 |
|
16 @@ -34,7 +34,7 @@ |
|
17 #################################################################### |
|
18 [ CA_default ] |
|
19 |
|
20 -dir = ./demoCA # Where everything is kept |
|
21 +dir = /etc/openssl # Where everything is kept |
|
22 certs = $dir/certs # Where the issued certs are kept |
|
23 crl_dir = $dir/crl # Where the issued crl are kept |
|
24 database = $dir/index.txt # database index file. |
|
25 @@ -44,7 +44,7 @@ |
|
26 |
|
27 certificate = $dir/cacert.pem # The CA certificate |
|
28 serial = $dir/serial # The current serial number |
|
29 -crlnumber = $dir/crlnumber # the current crl number |
|
30 +#crlnumber = $dir/crlnumber # the current crl number |
|
31 # must be commented out to leave a V1 CRL |
|
32 crl = $dir/crl.pem # The current CRL |
|
33 private_key = $dir/private/cakey.pem# The private key |
|
34 @@ -122,17 +122,17 @@ |
|
35 |
|
36 [ req_distinguished_name ] |
|
37 countryName = Country Name (2 letter code) |
|
38 -countryName_default = AU |
|
39 +#countryName_default = US |
|
40 countryName_min = 2 |
|
41 countryName_max = 2 |
|
42 |
|
43 stateOrProvinceName = State or Province Name (full name) |
|
44 -stateOrProvinceName_default = Some-State |
|
45 +#stateOrProvinceName_default = Some-State |
|
46 |
|
47 localityName = Locality Name (eg, city) |
|
48 |
|
49 0.organizationName = Organization Name (eg, company) |
|
50 -0.organizationName_default = Internet Widgits Pty Ltd |
|
51 +#0.organizationName_default = Unconfigured OpenSSL Installation |
|
52 |
|
53 # we can do this but it is not needed normally :-) |
|
54 #1.organizationName = Second Organization Name (eg, company) |
|