view network/openssl/ca-directory.patch @ 586:1218a8f753b6

core/busybox: let's re-add /etc/inittab support While busybox has weird /etc/inittab support the predefined actions without it are too minimalistic so re-add the support for it but don't install an /etc/inittab file. The file /etc/inittab file is still installed with sysvinit but if someone wants to use busybox's init it should create its own /etc/inittab file with the busybox syntax and do not install sysvinit afterwards.
author David Demelier <markand@malikania.fr>
date Mon, 08 Jul 2019 20:35:00 +0200
parents a0391540d20b
children
line wrap: on
line source

--- apps/CA.pl.in.orig	2019-02-24 09:24:25.728912737 +0100
+++ apps/CA.pl.in	2019-02-24 09:24:38.662267481 +0100
@@ -33,7 +33,7 @@
 my $PKCS12 = "$openssl pkcs12";
 
 # default openssl.cnf file has setup as per the following
-my $CATOP = "./demoCA";
+my $CATOP = "/etc/ssl";
 my $CAKEY = "cakey.pem";
 my $CAREQ = "careq.pem";
 my $CACERT = "cacert.pem";
--- apps/openssl.cnf.orig	2019-02-24 09:25:17.409016676 +0100
+++ apps/openssl.cnf	2019-02-24 09:25:33.522392103 +0100
@@ -42,7 +42,7 @@
 ####################################################################
 [ 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.