510bcc
diff -up openssl-1.1.0-pre5/apps/CA.pl.in.ca-dir openssl-1.1.0-pre5/apps/CA.pl.in
510bcc
--- openssl-1.1.0-pre5/apps/CA.pl.in.ca-dir	2016-07-18 15:19:40.118110405 +0200
510bcc
+++ openssl-1.1.0-pre5/apps/CA.pl.in	2016-07-18 15:21:06.531061337 +0200
510bcc
@@ -26,7 +26,7 @@ my $X509 = "$openssl x509";
510bcc
 my $PKCS12 = "$openssl pkcs12";
510bcc
 
510bcc
 # default openssl.cnf file has setup as per the following
510bcc
-my $CATOP = "./demoCA";
510bcc
+my $CATOP = "/etc/pki/CA";
510bcc
 my $CAKEY = "cakey.pem";
510bcc
 my $CAREQ = "careq.pem";
510bcc
 my $CACERT = "cacert.pem";
510bcc
diff -up openssl-1.1.0-pre5/apps/openssl.cnf.ca-dir openssl-1.1.0-pre5/apps/openssl.cnf
510bcc
--- openssl-1.1.0-pre5/apps/openssl.cnf.ca-dir	2016-07-18 15:19:40.114110315 +0200
510bcc
+++ openssl-1.1.0-pre5/apps/openssl.cnf	2016-07-18 15:19:48.492299467 +0200
510bcc
@@ -39,7 +39,7 @@ default_ca	= CA_default		# The default c
510bcc
 ####################################################################
510bcc
 [ CA_default ]
510bcc
 
510bcc
-dir		= ./demoCA		# Where everything is kept
510bcc
+dir		= /etc/pki/CA		# Where everything is kept
510bcc
 certs		= $dir/certs		# Where the issued certs are kept
510bcc
 crl_dir		= $dir/crl		# Where the issued crl are kept
510bcc
 database	= $dir/index.txt	# database index file.