From 63736f19bad3c224f5bbf374a615240189ae85a2 Mon Sep 17 00:00:00 2001 From: Stefan Pejcic Date: Wed, 5 Mar 2025 11:40:04 +0100 Subject: [PATCH] Update install.sh --- install.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/install.sh b/install.sh index 41af5452..dc30e5d0 100644 --- a/install.sh +++ b/install.sh @@ -344,7 +344,6 @@ parse_args() { echo " --skip-firewall Skip installing UFW or CSF - Only do this if you will set another external firewall!" echo " --csf Install and setup ConfigServer Firewall (default from >0.2.3)" echo " --ufw Install and setup Uncomplicated Firewall (was default in <0.2.3)" - echo " --skip-ssl Skip SSL setup." echo " --no-waf Do not configure CorazaWAF with OWASP Coreruleset." echo " --no-ssh Disable port 22 and whitelist the IP address of user installing the panel." echo " --skip-dns-server Skip setup for DNS (Bind9) server." @@ -405,9 +404,6 @@ while [[ $# -gt 0 ]]; do UFW_SETUP=true CSF_SETUP=false ;; - --skip-ssl) - SKIP_SSL=true - ;; --no-waf) CORAZA=false ;; @@ -1298,7 +1294,7 @@ set_email_address_and_email_admin_logins(){ generate_and_set_ssl_for_panels() { - if [ -z "$SKIP_SSL" ]; then + if [ "$SET_HOSTNAME_NOW" = true ]; then echo "Checking if SSL can be generated for the server hostname.." CADDYFILE="/etc/openpanel/caddy/Caddyfile" HOSTNAME=$(awk '/# START HOSTNAME DOMAIN #/{flag=1; next} /# END HOSTNAME DOMAIN #/{flag=0} flag' "$CADDYFILE" | awk 'NF {print $1; exit}')