jobcore/openssl/ca-dir.patch

32 lines
1 KiB
Diff
Raw Normal View History

2022-11-15 16:49:16 +01:00
--- a/apps/CA.pl.in
+++ b/apps/CA.pl.in
@@ -29,7 +29,7 @@
2022-03-20 13:19:37 +01:00
my $PKCS12 = "$openssl pkcs12";
2022-11-15 16:49:16 +01:00
# Default values for various configuration settings.
2022-03-20 13:19:37 +01:00
-my $CATOP = "./demoCA";
+my $CATOP = "/etc/ssl";
my $CAKEY = "cakey.pem";
my $CAREQ = "careq.pem";
my $CACERT = "cacert.pem";
2022-11-15 16:49:16 +01:00
--- a/apps/openssl.cnf
+++ b/apps/openssl.cnf
@@ -79,7 +79,7 @@
2022-03-20 13:19:37 +01:00
####################################################################
[ CA_default ]
-dir = ./demoCA # Where everything is kept
+dir = /etc/ssl # Where everything is kept
certs = $dir/certs # Where the issued certs are kept
crl_dir = $dir/crl # Where the issued crl are kept
database = $dir/index.txt # database index file.
2022-11-15 16:49:16 +01:00
@@ -309,7 +309,7 @@
2022-03-20 13:19:37 +01:00
[ tsa_config1 ]
# These are used by the TSA reply generation only.
-dir = ./demoCA # TSA root directory
+dir = /etc/ssl # TSA root directory
serial = $dir/tsaserial # The current serial number (mandatory)
crypto_device = builtin # OpenSSL engine to use for signing
signer_cert = $dir/tsacert.pem # The TSA signing certificate