Skip to content

Commit 1ca5414

Browse files
Update 1.0.3.sh
1 parent a7e5629 commit 1ca5414

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

install/upgrade/versions/1.0.3.sh

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,13 @@ if [ -z $THEME ]; then
1313
fi
1414

1515
# Replace dhparam 1024 with dhparam 4096
16-
cp -f $HESTIA/install/deb/ssl/dhparam.pem /etc/ssl
16+
echo "(*) Updating dhparam to 4096-bit..."
17+
mv /etc/ssl/dhparam.pem $HESTIA_BACKUP/conf/
18+
cp -rf $HESTIA/install/deb/ssl/dhparam.pem /etc/ssl/
19+
systemctl reload nginx
20+
21+
# Enhance Dovecot security
22+
echo "(*) Enhancing Dovecot security..."
23+
mv /etc/dovecot/conf.d/10-ssl.conf $HESTIA_BACKUP/conf/
24+
cp -rf $HESTIA/install/deb/dovecot/10-ssl.conf /etc/dovecot/conf.d/
25+
systemctl restart dovecot

0 commit comments

Comments
 (0)