fix: remove certbot cert copy

This commit is contained in:
2026-04-14 00:08:13 +02:00
parent ec21aead67
commit 814ff9aba1
-6
View File
@@ -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",