Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
39b6810c
Commit
39b6810c
authored
Jan 30, 2023
by
Till Brehm
Browse files
Update install/lib/installer_base.lib.php
parent
d53109aa
Pipeline
#12969
passed with stage
in 8 minutes and 19 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
install/lib/installer_base.lib.php
View file @
39b6810c
...
...
@@ -3145,11 +3145,11 @@ class installer_base {
$out
=
null
;
$ret
=
null
;
if
(
$conf
[
'nginx'
][
'installed'
]
==
true
||
$conf
[
'apache'
][
'installed'
]
==
true
)
{
exec
(
"
$acme
--issue --log
$acme_log
-w /usr/local/ispconfig/interface/acme -d "
.
escapeshellarg
(
$hostname
)
.
"
$renew_hook
"
,
$out
,
$ret
);
exec
(
"
$acme
--issue
--keylength 4096
--log
$acme_log
-w /usr/local/ispconfig/interface/acme -d "
.
escapeshellarg
(
$hostname
)
.
"
$renew_hook
"
,
$out
,
$ret
);
}
// Else, it is not webserver, so we use standalone
else
{
exec
(
"
$acme
--issue --log
$acme_log
--standalone -d "
.
escapeshellarg
(
$hostname
)
.
"
$hook
"
,
$out
,
$ret
);
exec
(
"
$acme
--issue
--keylength 4096
--log
$acme_log
--standalone -d "
.
escapeshellarg
(
$hostname
)
.
"
$hook
"
,
$out
,
$ret
);
}
if
(
$ret
==
0
||
(
$ret
==
2
&&
file_exists
(
$check_acme_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