From e9a41ddd2341fe0ed3e545a0f23090ff1c2fdcec Mon Sep 17 00:00:00 2001 From: Spitap Date: Fri, 23 Jun 2023 17:40:23 +0200 Subject: [PATCH] Fixed for upgrade --- modoboa_installer/ssl.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modoboa_installer/ssl.py b/modoboa_installer/ssl.py index 6b61db50..0b161c4b 100644 --- a/modoboa_installer/ssl.py +++ b/modoboa_installer/ssl.py @@ -24,6 +24,10 @@ def overwrite_existing_certificate(self): return False return True + def generate_cert(self): + """Create a certificate.""" + pass + class ManualCertification(CertificateBackend): """Use certificate provided.""" @@ -46,7 +50,6 @@ def __init__(self, *args, **kwargs): if not path_correct: sys.exit(1) - def generate_cert(self): self.config.set("general", "tls_key_file", self.tls_key_file_path) self.config.set("general", "tls_cert_file",