Skip to content

Commit d968288

Browse files
author
Thom
committed
Set default CA to Let's Encrypt when installing acme.sh if no ACME client is found (#6866)
1 parent bb37295 commit d968288

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/lib/classes/letsencrypt.inc.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ private function use_acme(&$script = null) {
227227
$this->install_acme();
228228
$script = $this->get_acme_script();
229229
if($script) {
230+
shell_exec($script . ' --set-default-ca --server letsencrypt');
230231
return true;
231232
} else {
232233
$app->log("Unable to install acme.sh. Cannot proceed, no Let's Encrypt client found.", LOGLEVEL_WARN);

0 commit comments

Comments
 (0)