From 51c41cdbb8975fa116079fb8cb00ec396c1a7574 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 1 Jan 2017 21:20:32 +0000 Subject: [PATCH] TLS version 1.2 --- src/freedombone-app-matrix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/freedombone-app-matrix b/src/freedombone-app-matrix index 1d73f259..d8e32a7f 100755 --- a/src/freedombone-app-matrix +++ b/src/freedombone-app-matrix @@ -323,7 +323,7 @@ function upgrade_matrix { cd /etc/sydent pip install --upgrade --process-dependency-links . - sed -i 's/ssl.PROTOCOL_SSLv23/ssl.OP_ALL | ssl.OP_NO_SSLv2 | ssl.OP_NO_SSLv3/g' /usr/local/bin/register_new_matrix_user + sed -i 's/ssl.PROTOCOL_SSLv23/ssl.PROTOCOL_TLSv1_2/g' /usr/local/bin/register_new_matrix_user chown -R matrix:matrix /etc/matrix chown -R matrix:matrix /etc/sydent @@ -616,7 +616,7 @@ function install_home_server { chown -R matrix:matrix /etc/matrix chown -R matrix:matrix $MATRIX_DATA_DIR - sed -i 's/ssl.PROTOCOL_SSLv23/ssl.OP_ALL | ssl.OP_NO_SSLv2 | ssl.OP_NO_SSLv3/g' /usr/local/bin/register_new_matrix_user + sed -i 's/ssl.PROTOCOL_SSLv23/ssl.PROTOCOL_TLSv1_2/g' /usr/local/bin/register_new_matrix_user echo '[Unit]' > /etc/systemd/system/matrix.service echo 'Description=Synapse Matrix homeserver' >> /etc/systemd/system/matrix.service