Commit 6bf06c44 authored by Igor Pecovnik's avatar Igor Pecovnik
Browse files

Secure ISPConfig control panel and all services with free auto updating Let's...

Secure ISPConfig control panel and all services with free auto updating Let's Encrypt SSL certificate
parent 8bde726a
......@@ -1458,8 +1458,12 @@ cd ${TEMP_DIR}
wget -q http://www.ispconfig.org/downloads/ISPConfig-3-stable.tar.gz -O - | tar -xz
cd ${TEMP_DIR}/ispconfig3_install/install/
php -q install.php --autoinstall=${TEMP_DIR}/isp.conf.php &>> /var/log/ispconfig_config.log
dialog --colors --backtitle "$BACKTITLE" --no-collapse --title " ISPconfig " --clear --msgbox \
"\nAdmin panel: https://$serverIP:8080\n\nUsername: admin\nPassword: 1234 \n\nMySQL admin: http://$serverIP:8081/phpmyadmin" 12 56
dialog --colors --backtitle "$BACKTITLE" --no-collapse --title " Installing SSL certificate " --clear --yesno "\nSecuring ISPConfig control panel and all services with free Let's Encrypt SSL certificate and auto update is possible this way:\n\n\n1. Access admin panel with your browser: \Z1https://$(hostname -f):8080\Z0\n\nUsername: \Z1admin\Z0\nPassword: \Z11234\Z0 \n\n\n2. Go to Sites > Website > Add new website\n\nWrite: \Z1$(hostname -f)\Z0 into \"Domain\" and enable \Z1SSL\Z0 and \Z1Let's Encrypt SSL\Z0, Save, Logout.\n\n\n3. Wait. It can take up to a few minutes.\n\n\n4. Check if SSL is working \Z1https://$(hostname -f):8080\Z0\n\nUsername: \Z1admin\Z0\nPassword: \Z11234\Z0 \n\n\n4. Go to Tools > Password and language\n\nChange ISPConfig control panel password. Enjoy!" 34 80
if [[ $? == 0 ]]; then
curl -sSL https://github.com/ahrasis/LE4ISPC/archive/master.zip > ${TEMP_DIR}/file.zip
unzip ${TEMP_DIR}/file.zip
bash ${TEMP_DIR}/LE4ISPC-master/$server/le4ispc.sh
fi
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment