File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1515# Replace dhparam 1024 with dhparam 4096
1616echo " (*) Installing 4096-bit SSL security certificate..."
1717mv /etc/ssl/dhparam.pem $HESTIA_BACKUP /conf/
18- cp -rf $hestiacp /ssl/dhparam.pem /etc/ssl/
18+ cp -f $hestiacp /ssl/dhparam.pem /etc/ssl/
1919chmod 600 /etc/ssl/dhparams.pem
2020
2121# Enhance Vsftpd security
2222echo " (*) Modifying Vsftpd SSL configuration..."
23- cp -rf /etc/vsftpd.conf $HESTIA_BACKUP /conf/
23+ cp -f /etc/vsftpd.conf $HESTIA_BACKUP /conf/
2424sed -i " s|ssl_tlsv1=YES|ssl_tlsv1=NO|g" /etc/vsftpd.conf
2525
2626# Enhance Dovecot security
2727echo " (*) Modifying Dovecot SSL configuration..."
2828mv /etc/dovecot/conf.d/10-ssl.conf $HESTIA_BACKUP /conf/
29- cp -rf $hestiacp /dovecot/conf.d/10-ssl.conf /etc/dovecot/conf.d/
29+ cp -f $hestiacp /dovecot/conf.d/10-ssl.conf /etc/dovecot/conf.d/
3030
3131# Update DNS resolvers in hestia-nginx's configuration
3232echo " (*) Updating DNS resolvers for Hestia Internal Web Server..."
You can’t perform that action at this time.
0 commit comments