mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
matrixsnapse: Setup certificate after domain selection
Immediately after the installation, a self-signed certificate is used because domain name is not available. However, after domain name becomes available, setup a Let's Encrypt certificate. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
3b257c7a58
commit
b169739867
@ -141,6 +141,7 @@ def subcommand_setup(arguments):
|
|||||||
domain_name = arguments.domain_name
|
domain_name = arguments.domain_name
|
||||||
action_utils.dpkg_reconfigure('matrix-synapse',
|
action_utils.dpkg_reconfigure('matrix-synapse',
|
||||||
{'server-name': domain_name})
|
{'server-name': domain_name})
|
||||||
|
_update_tls_certificate()
|
||||||
subcommand_enable(arguments)
|
subcommand_enable(arguments)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user