Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
91c3b7d9
Commit
91c3b7d9
authored
Nov 17, 2021
by
Jesse Norell
Browse files
installer: fix checked wrong cert files for removal
parent
3fd9dd1b
Pipeline
#9836
passed with stage
in 7 minutes and 27 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
install/lib/installer_base.lib.php
View file @
91c3b7d9
...
...
@@ -3133,8 +3133,7 @@ class installer_base {
// certbot returns with 0 on issue for already existing certificate
$acme_cert_dir
=
'/etc/letsencrypt/live/'
.
$hostname
;
foreach
(
array
(
'fullchain.pem'
,
'privkey.pem'
)
as
$f
)
{
$f
=
$acme_cert_dir
.
'/'
.
$f
;
foreach
(
array
(
$ssl_crt_file
,
$ssl_key_file
)
as
$f
)
{
if
(
file_exists
(
$f
)
&&
!
is_link
(
$f
))
{
unlink
(
$f
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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