|
|
@@ -11,7 +11,7 @@ class GetSSLDaysController {
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
- exec("sudo certbot certificates --cert-name $domain | grep 'Expiry' | grep 'Expiry' | sed 's/ //g'", $phpOutput, $phpReturnCode);
|
|
|
+ exec("sudo certbot certificates --cert-name $domain | grep 'Expiry' | grep 'Expiry'", $phpOutput, $phpReturnCode);
|
|
|
$sslData = explode(" ",$phpOutput[0]);
|
|
|
/*
|
|
|
$certFile = "/etc/letsencrypt/live/$domain/fullchain.pem";
|