Add support for issue status sychronization

This commit is contained in:
Matej Bačo committed 2025-09-16 14:37:02 +02:00
1 parent e93b06acb5
commit 91bac63dbd
2 files changed
+7

No files matched your search

+2
View File
@@ -13,4 +13,6 @@ interface Adapter
public function isRenewRequired(string $domain, ?string $domainType, Log $log): bool;
public function deleteCertificate(string $domain): void;
public function getIssueStatus(string $domain, ?string $domainType): ?string;
}
@@ -22,6 +22,11 @@ class LetsEncrypt implements Adapter
return true;
}
public function getIssueStatus(string $domain, ?string $domainType): ?string
{
throw new \Exception('Issue status synchronization is not supported in this adapter.');
}
public function issueCertificate(string $certName, string $domain, ?string $domainType): ?string
{
$stdout = '';