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:
Sunil Mohan Adapa 2019-02-13 18:07:23 -08:00
parent 3b257c7a58
commit b169739867
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2

View File

@ -141,6 +141,7 @@ def subcommand_setup(arguments):
domain_name = arguments.domain_name
action_utils.dpkg_reconfigure('matrix-synapse',
{'server-name': domain_name})
_update_tls_certificate()
subcommand_enable(arguments)