Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Zvonimir
ISPConfig 3
Commits
e514ae70
Commit
e514ae70
authored
Jan 03, 2013
by
hellkat
Browse files
Implemented FS#2595 - postfix RSA certificate generation.
- Postfix SSL Key is now 4096 bit for greater security
parent
4586d500
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/lib/installer_base.lib.php
View file @
e514ae70
...
...
@@ -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'
;
exec
(
$command
);
$command
=
'chmod o= '
.
$config_dir
.
'/smtpd.key'
;
...
...
@@ -2229,4 +2229,4 @@ class installer_base {
}
}
?>
\ No newline at end of file
?>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment