diff --git a/src/Appwrite/Certificates/Adapter.php b/src/Appwrite/Certificates/Adapter.php index 4acf73a1a6..849081ebf1 100644 --- a/src/Appwrite/Certificates/Adapter.php +++ b/src/Appwrite/Certificates/Adapter.php @@ -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; } diff --git a/src/Appwrite/Certificates/LetsEncrypt.php b/src/Appwrite/Certificates/LetsEncrypt.php index 8cab07f19a..1c4bd97a17 100644 --- a/src/Appwrite/Certificates/LetsEncrypt.php +++ b/src/Appwrite/Certificates/LetsEncrypt.php @@ -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 = '';