|
|
@@ -14,8 +14,8 @@ class GetSSLDaysController {
|
|
|
}
|
|
|
|
|
|
$certFile = "/etc/letsencrypt/live/$domain/fullchain.pem";
|
|
|
- error_log("certfile: " . $certFile);
|
|
|
if (!file_exists($certFile)) {
|
|
|
+ error_log("certfile: " . $certFile);
|
|
|
http_response_code(404);
|
|
|
echo json_encode(['error' => 'SSL certificate not found']);
|
|
|
return;
|