From c39cd568e41f067cd51f5428f85632390f0a7cb8 Mon Sep 17 00:00:00 2001 From: Antoine Nguyen Date: Thu, 16 May 2024 10:26:04 +0200 Subject: [PATCH] Fix #553 --- README.rst | 4 ++-- modoboa_installer/ssl.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index 4c8a9e7..6c1ad45 100644 --- a/README.rst +++ b/README.rst @@ -226,8 +226,8 @@ If you want to use already generated certs, simply edit the [certificate] generate = true type = manual - tls_cert_file_path = *path to tls key file* - tls_key_file_path = * path to tls fullchain file* + tls_cert_file_path = *path to tls fullchain file* + tls_key_file_path = *path to tls key file* .. |workflow| image:: https://github.com/modoboa/modoboa-installer/workflows/Modoboa%20installer/badge.svg .. |codecov| image:: http://codecov.io/github/modoboa/modoboa-installer/coverage.svg?branch=master diff --git a/modoboa_installer/ssl.py b/modoboa_installer/ssl.py index 05052c9..87299c7 100644 --- a/modoboa_installer/ssl.py +++ b/modoboa_installer/ssl.py @@ -36,9 +36,9 @@ class ManualCertificate(CertificateBackend): super().__init__(*args, **kwargs) path_correct = True self.tls_cert_file_path = self.config.get("certificate", - "tls_key_file_path") + "tls_cert_file_path") self.tls_key_file_path = self.config.get("certificate", - "tls_cert_file_path") + "tls_key_file_path") if not os.path.exists(self.tls_key_file_path): utils.error("'tls_key_file_path' path is not accessible")