Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ISPConfig
ISPConfig Autoinstaller
Commits
ce58c41a
Commit
ce58c41a
authored
Feb 26, 2021
by
Thom
🛠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Install certbot from repo (
#38
)
parent
39fa9fd4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
lib/os/class.ISPConfigDebianOS.inc.php
lib/os/class.ISPConfigDebianOS.inc.php
+1
-7
No files found.
lib/os/class.ISPConfigDebianOS.inc.php
View file @
ce58c41a
...
...
@@ -932,13 +932,7 @@ mailman-unsubscribe: "|/var/lib/mailman/mail/mailman unsubscribe mailman"';
if
(
ISPConfig
::
wantsCertbot
())
{
ISPConfigLog
::
info
(
'Installing Certbot (Let\'s Encrypt).'
,
true
);
$cmd
=
'cd /usr/local/bin ; wget https://dl.eff.org/certbot-auto ; chmod a+x certbot-auto ; ./certbot-auto --install-only'
;
$result
=
$this
->
exec
(
$cmd
);
if
(
$result
===
false
)
{
ISPConfigLog
::
warn
(
'Installation of Certbot (Let\'s Encrypt) failed.'
,
true
);
}
else
{
ISPConfigLog
::
info
(
'Certbot installed.'
,
true
);
}
$this
->
installPackages
(
'certbot'
);
}
else
{
ISPConfigLog
::
info
(
'Installing acme.sh (Let\'s Encrypt).'
,
true
);
$cmd
=
'cd /tmp ; wget -O - https://get.acme.sh 2>/dev/null | sh 2>/dev/null'
;
...
...
Write
Preview
Markdown
is supported
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