|
@@ -321,7 +321,7 @@ function upgrade_matrix {
|
321
|
321
|
cd /etc/sydent
|
322
|
322
|
pip install --upgrade --process-dependency-links .
|
323
|
323
|
|
324
|
|
- sed -i 's|ssl.PROTOCOL_SSLv23|ssl.PROTOCOL_TLSv1|g' /usr/local/bin/register_new_matrix_user
|
|
324
|
+ 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
|
325
|
325
|
|
326
|
326
|
chown -R matrix:matrix /etc/matrix
|
327
|
327
|
chown -R matrix:matrix /etc/sydent
|
|
@@ -614,7 +614,7 @@ function install_home_server {
|
614
|
614
|
chown -R matrix:matrix /etc/matrix
|
615
|
615
|
chown -R matrix:matrix $MATRIX_DATA_DIR
|
616
|
616
|
|
617
|
|
- sed -i 's|ssl.PROTOCOL_SSLv23|ssl.PROTOCOL_TLSv1|g' /usr/local/bin/register_new_matrix_user
|
|
617
|
+ 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
|
618
|
618
|
|
619
|
619
|
echo '[Unit]' > /etc/systemd/system/matrix.service
|
620
|
620
|
echo 'Description=Synapse Matrix homeserver' >> /etc/systemd/system/matrix.service
|