hellkat
2013-01-03 e514ae70976a6ac34f4c871319ae7b47b42ba794
Implemented FS#2595 - postfix RSA certificate generation.
- Postfix SSL Key is now 4096 bit for greater security

1 files modified
4 ■■■■ changed files
install/lib/installer_base.lib.php 4 ●●●● patch | view | raw | blame | history
install/lib/installer_base.lib.php
@@ -732,7 +732,7 @@
        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';
            exec($command);
            $command = 'chmod o= '.$config_dir.'/smtpd.key';
@@ -2229,4 +2229,4 @@
    }
}
?>
?>