From a6c3a5cb68fb76bddc67fb7bd3164897d7877d05 Mon Sep 17 00:00:00 2001
From: Johannes Schindelin <johannes.schindelin@gmx.de>
Date: Wed, 21 Nov 2018 13:55:30 +0100
Subject: [PATCH 1/3] Use /usr/ssl/ as ca-dir (instead of ./demoCA)

---
 apps/CA.pl.in    | 2 +-
 apps/openssl.cnf | 2 +-
 test/CAss.cnf    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/apps/CA.pl.in b/apps/CA.pl.in
index db3cc38..fc85f74 100644
--- a/apps/CA.pl.in
+++ b/apps/CA.pl.in
@@ -33,7 +33,7 @@ my $X509 = "$openssl x509";
 my $PKCS12 = "$openssl pkcs12";
 
 # default openssl.cnf file has setup as per the following
-my $CATOP = "./demoCA";
+my $CATOP = "/usr/ssl";
 my $CAKEY = "cakey.pem";
 my $CAREQ = "careq.pem";
 my $CACERT = "cacert.pem";
diff --git a/apps/openssl.cnf b/apps/openssl.cnf
index 6df2878..ca59ecd 100644
--- a/apps/openssl.cnf
+++ b/apps/openssl.cnf
@@ -42,7 +42,7 @@ default_ca	= CA_default		# The default ca section
 ####################################################################
 [ CA_default ]
 
-dir		= ./demoCA		# Where everything is kept
+dir		= /usr/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.
diff --git a/test/CAss.cnf b/test/CAss.cnf
index b20a242..edf0d20 100644
--- a/test/CAss.cnf
+++ b/test/CAss.cnf
@@ -31,7 +31,7 @@ default_ca	= CA_default		# The default ca section
 ####################################################################
 [ CA_default ]
 
-dir		= ./demoCA		# Where everything is kept
+dir		= /usr/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.
-- 
2.19.1

