This commit is contained in:
Antoine Nguyen
2024-05-16 10:26:04 +02:00
parent e45a07f8cf
commit c39cd568e4
2 changed files with 4 additions and 4 deletions

View File

@@ -226,8 +226,8 @@ If you want to use already generated certs, simply edit the
[certificate] [certificate]
generate = true generate = true
type = manual type = manual
tls_cert_file_path = *path to tls key file* tls_cert_file_path = *path to tls fullchain file*
tls_key_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 .. |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 .. |codecov| image:: http://codecov.io/github/modoboa/modoboa-installer/coverage.svg?branch=master

View File

@@ -36,9 +36,9 @@ class ManualCertificate(CertificateBackend):
super().__init__(*args, **kwargs) super().__init__(*args, **kwargs)
path_correct = True path_correct = True
self.tls_cert_file_path = self.config.get("certificate", 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", 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): if not os.path.exists(self.tls_key_file_path):
utils.error("'tls_key_file_path' path is not accessible") utils.error("'tls_key_file_path' path is not accessible")