Fix #553
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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")
|
|
||||||
self.tls_key_file_path = self.config.get("certificate",
|
|
||||||
"tls_cert_file_path")
|
"tls_cert_file_path")
|
||||||
|
self.tls_key_file_path = self.config.get("certificate",
|
||||||
|
"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")
|
||||||
|
|||||||
Reference in New Issue
Block a user