diff -ruN phpki-ng.old/phpki-ng-0.84/include/openssl_functions.php phpki-ng/phpki-ng-0.84/include/openssl_functions.php
--- phpki-ng.old/phpki-ng-0.84/include/openssl_functions.php 2021-03-08 18:40:56.679933225 +0100
+++ phpki-ng/phpki-ng-0.84/include/openssl_functions.php 2021-03-08 18:52:22.703152756 +0100
@@ -885,7 +885,7 @@
if ($ret == 0) {
unset($cmd_output);
$cmd_output[] = "Creating DER format Certificate Revocation List.";
- exec(CRL." -in '$configCacrl_der' -out '$configCacrl_der' -inform PEM -outform DER 2>&1", $cmd_output, $ret);
+ exec(CRL." -in '$configCacrl_pem' -out '$configCacrl_der' -inform PEM -outform DER 2>&1", $cmd_output, $ret);
}
return array(($ret == 0 ? true : false), implode('
', $cmd_output));
diff -ruN phpki-ng.old/phpki-ng-0.84/setup.php-presetup phpki-ng/phpki-ng-0.84/setup.php-presetup
--- phpki-ng.old/phpki-ng-0.84/setup.php-presetup 2021-03-08 18:40:56.645932734 +0100
+++ phpki-ng/phpki-ng-0.84/setup.php-presetup 2021-03-08 18:52:22.704152770 +0100
@@ -692,7 +692,7 @@
#
# Create a new self-signed CA certificate in PEM format.
#
- print 'Creating root certificate...
';
+ print 'Creating root certificate... '. $keysize .' bits
';
flush();
$configOpenssl_cnf = $config['openssl_cnf'];
@@ -773,7 +773,7 @@
} else {
echo "openvpn is required to generate a takey.pem
";
echo "You can create one later like this:
";
- echo "openvpn --genkey --secret". $configPrivate_dir . "/takey.pem
";
+ echo "openvpn --genkey --secret ". $configPrivate_dir . "/takey.pem
";
}
@@ -949,7 +949,10 @@
-