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
Massimiliano
ISPConfig 3
Commits
b51c22ae
Commit
b51c22ae
authored
Aug 14, 2014
by
Till Brehm
Browse files
Fixed: FS#3624 - SSL cert for postfix not created on OpenSuSE Linux during install
parent
1ed92e18
Changes
3
Hide whitespace changes
Inline
Side-by-side
install/dist/lib/fedora.lib.php
View file @
b51c22ae
...
...
@@ -114,7 +114,7 @@ class installer_dist extends installer_base {
function
configure_postfix
(
$options
=
''
)
{
global
$conf
;
global
$conf
,
$autoinstall
;
$cf
=
$conf
[
'postfix'
];
$config_dir
=
$cf
[
'config_dir'
];
...
...
install/dist/lib/gentoo.lib.php
View file @
b51c22ae
...
...
@@ -49,7 +49,7 @@ class installer extends installer_base
public
function
configure_postfix
(
$options
=
''
)
{
global
$conf
;
global
$conf
,
$autoinstall
;
$cf
=
$conf
[
'postfix'
];
$config_dir
=
$cf
[
'config_dir'
];
...
...
@@ -126,6 +126,7 @@ class installer extends installer_base
$command
=
'cd '
.
$config_dir
.
'; '
.
'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'
;
caselog
(
$command
.
' &> /dev/null'
,
__FILE__
,
__LINE__
,
'EXECUTED: '
.
$command
,
'Failed to execute the command '
.
$command
);
...
...
install/dist/lib/opensuse.lib.php
View file @
b51c22ae
...
...
@@ -130,7 +130,7 @@ class installer_dist extends installer_base {
function
configure_postfix
(
$options
=
''
)
{
global
$conf
;
global
$conf
,
$autoinstall
;
$cf
=
$conf
[
'postfix'
];
$config_dir
=
$cf
[
'config_dir'
];
...
...
@@ -264,6 +264,7 @@ class installer_dist extends installer_base {
$command
=
'cd '
.
$config_dir
.
'; '
.
'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'
;
caselog
(
$command
.
' &> /dev/null'
,
__FILE__
,
__LINE__
,
'EXECUTED: '
.
$command
,
'Failed to execute the command '
.
$command
);
...
...
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