summary refs log tree commit diff
path: root/synapse/config/tls.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-07-21 09:25:30 +0100
committerErik Johnston <erik@matrix.org>2015-07-21 09:25:30 +0100
commit90dbd71c13acf85b2a1c072f51532c32d5c7aa9d (patch)
treee67e413801924887b491969ec825c0c29c1b89b6 /synapse/config/tls.py
parents/take/claim/ for end to end key APIs (diff)
parenttypo (diff)
downloadsynapse-90dbd71c13acf85b2a1c072f51532c32d5c7aa9d.tar.xz
Merge branch 'master' of github.com:matrix-org/synapse into develop
Diffstat (limited to 'synapse/config/tls.py')
-rw-r--r--synapse/config/tls.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/config/tls.py b/synapse/config/tls.py

index 6c1df35e80..4751d39bc9 100644 --- a/synapse/config/tls.py +++ b/synapse/config/tls.py
@@ -96,7 +96,7 @@ class TlsConfig(Config): ) if not os.path.exists(tls_certificate_path): - with open(tls_certificate_path, "w") as certifcate_file: + with open(tls_certificate_path, "w") as certificate_file: cert = crypto.X509() subject = cert.get_subject() subject.CN = config["server_name"] @@ -111,7 +111,7 @@ class TlsConfig(Config): cert_pem = crypto.dump_certificate(crypto.FILETYPE_PEM, cert) - certifcate_file.write(cert_pem) + certificate_file.write(cert_pem) if not os.path.exists(tls_dh_params_path): if GENERATE_DH_PARAMS: