Commit e514ae70 authored by hellkat's avatar hellkat
Browse files

Implemented FS#2595 - postfix RSA certificate generation.

 - Postfix SSL Key is now 4096 bit for greater security
parent 4586d500
......@@ -732,7 +732,7 @@ class installer_base {
if(!stristr($options,'dont-create-certs')) {
//* Create the SSL certificate
$command = 'cd '.$config_dir.'; '
.'openssl req -new -outform PEM -out smtpd.cert -newkey rsa:2048 -nodes -keyout smtpd.key -keyform PEM -days 3650 -x509';
.'openssl req -new -outform PEM -out smtpd.cert -newkey rsa:4096 -nodes -keyout smtpd.key -keyform PEM -days 3650 -x509';
$command = 'chmod o= '.$config_dir.'/smtpd.key';
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment