added input-file option for automatic cli-installation
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -258,6 +258,6 @@ class Crypt
|
||||
$x509 = openssl_csr_sign($csr, null, $privkey, 365, array('digest_alg' => 'sha384'));
|
||||
// export to files
|
||||
openssl_x509_export_to_file($x509, Settings::Get('system.ssl_cert_file'));
|
||||
openssl_pkey_export_to_file($private_key, Settings::Get('system.ssl_key_file'));
|
||||
openssl_pkey_export_to_file($privkey, Settings::Get('system.ssl_key_file'));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user