We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0cba68 commit 757d711Copy full SHA for 757d711
Lib/GetSslMain.php
@@ -388,7 +388,9 @@ public function startGetCertSsl(bool $asynchronously = true): PBXApiResult
388
$cmd = $envExports . $cmd;
389
} else {
390
// HTTP-01 challenge via webroot
391
- $webroot = $this->dirs['challengeDir'];
+ // acme.sh appends /.well-known/acme-challenge/<token> to webroot,
392
+ // so pass the document root (confDir), not the challenge dir
393
+ $webroot = $this->dirs['confDir'];
394
$cmd .= " --webroot " . escapeshellarg($webroot);
395
}
396
0 commit comments