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
Mattia Rizzolo
ISPConfig 3
Commits
6ef85318
Commit
6ef85318
authored
Mar 14, 2022
by
Till Brehm
Browse files
Update letsencrypt.inc.php
parent
8bb306ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/lib/classes/letsencrypt.inc.php
View file @
6ef85318
...
...
@@ -415,6 +415,10 @@ class letsencrypt {
if
(
$use_acme
)
{
$letsencrypt_cmd
=
$this
->
get_acme_command
(
$temp_domains
,
$key_file
,
$bundle_file
,
$crt_file
,
$server_type
);
$allow_return_codes
=
array
(
2
);
// Cleanup ssl cert symlinks, if exists
if
(
@
is_link
(
$key_file
))
unlink
(
$key_file
);
if
(
@
is_link
(
$bundle_file
))
unlink
(
$bundle_file
);
if
(
@
is_link
(
$crt_file
))
unlink
(
$crt_file
);
}
else
{
$letsencrypt_cmd
=
$this
->
get_certbot_command
(
$temp_domains
);
umask
(
$old_umask
);
...
...
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