Browse Source

add keys to return array for parseCertificate method

pull/63/head
Nicolas Roman 1 year ago
parent
commit
1fc8a3e322
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      lib/letsencrypt.php

+ 3
- 3
lib/letsencrypt.php View File

@ -148,9 +148,9 @@ class LetsEncrypt
$includedDomains = $parsedParameters["extensions"]["subjectAltName"];
$validUntil = $parsedParameters["validTo_time_t"];
array_push($infosCert, $issuer);
array_push($infosCert, $includedDomains);
array_push($infosCert, $validUntil);
$infosCert["issuer"] = $issuer;
$infosCert["includedDomains"] = $includedDomains;
$infosCert["validUntil"] = $validUntil;
return $infosCert;
}


Loading…
Cancel
Save