From 62b391ef680c6a183e1484d6425f103b46470f1e Mon Sep 17 00:00:00 2001 From: Hemachandar Date: Thu, 18 Dec 2025 13:46:56 +0530 Subject: [PATCH] certificate status exception --- src/Appwrite/Certificates/Adapter.php | 2 ++ .../Certificates/Exception/CertificateStatus.php | 10 ++++++++++ src/Appwrite/Certificates/LetsEncrypt.php | 6 ++++++ src/Appwrite/Platform/Tasks/MaintenanceRules.php | 4 ++-- 4 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 src/Appwrite/Certificates/Exception/CertificateStatus.php diff --git a/src/Appwrite/Certificates/Adapter.php b/src/Appwrite/Certificates/Adapter.php index 770d2bb71d..47d865ad08 100644 --- a/src/Appwrite/Certificates/Adapter.php +++ b/src/Appwrite/Certificates/Adapter.php @@ -10,6 +10,8 @@ interface Adapter public function isInstantGeneration(string $domain, ?string $domainType): bool; + public function getCertificateStatus(string $domain, ?string $domainType): string; + public function isRenewRequired(string $domain, ?string $domainType, Log $log): bool; public function deleteCertificate(string $domain): void; diff --git a/src/Appwrite/Certificates/Exception/CertificateStatus.php b/src/Appwrite/Certificates/Exception/CertificateStatus.php new file mode 100644 index 0000000000..652c1c4253 --- /dev/null +++ b/src/Appwrite/Certificates/Exception/CertificateStatus.php @@ -0,0 +1,10 @@ +