From 814ff9aba10b9518b2cf383fd6939ae60074d683 Mon Sep 17 00:00:00 2001 From: klemek Date: Tue, 14 Apr 2026 00:08:13 +0200 Subject: [PATCH] fix: remove certbot cert copy --- src/cert.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/cert.py b/src/cert.py index b0785ee..8efddc2 100644 --- a/src/cert.py +++ b/src/cert.py @@ -157,12 +157,6 @@ class CertManager: stderr=subprocess.STDOUT, ) self.logger.info("Created certbot certificate for %s", host) - cert_path = self.certbot_conf / "live" / host - dest_cert_path = self.self_signed_path / host - if dest_cert_path.exists: - shutil.rmtree(dest_cert_path) - cert_path.copy_into(self.self_signed_path, follow_symlinks=False) - self.logger.debug("Copied certbot certificate to self certificates") except subprocess.CalledProcessError as e: self.logger.exception( "Could not create certbot certificate for %s\n%s",