Skip to content

Commit

Permalink
Fix #553
Browse files Browse the repository at this point in the history
  • Loading branch information
tonioo committed May 16, 2024
1 parent e45a07f commit c39cd56
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions modoboa_installer/ssl.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ def __init__(self, *args, **kwargs):
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")
Expand Down

0 comments on commit c39cd56

Please sign in to comment.