Skip to content

Commit

Permalink
Fixed for upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
Spitfireap authored and tonioo committed Apr 24, 2024
1 parent 469005b commit 68ecf77
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion modoboa_installer/ssl.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""
Expand All @@ -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",
Expand Down

0 comments on commit 68ecf77

Please sign in to comment.