From 9810277c0fd3ff7f9a8c9f377055cee07b22c855 Mon Sep 17 00:00:00 2001 From: Maor Rozenfeld <49363375+maor-rozenfeld@users.noreply.github.com> Date: Fri, 24 Oct 2025 13:35:59 +0200 Subject: [PATCH] Use the correct term FQDN instead of just "domain" --- scripts/tls | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/tls b/scripts/tls index 4a18602..812323a 100755 --- a/scripts/tls +++ b/scripts/tls @@ -14,7 +14,7 @@ This script configures TLS on an existing OpenOps installation. Requirements: - OpenOps must be installed and running -- You must have a valid domain name and email address for certificate registration +- You must have a working fully qualified domain name and email address for certificate registration - The server must be accessible from the internet for certificate validation The script will update existing certificates if they are already configured. @@ -22,8 +22,8 @@ The script will update existing certificates if they are already configured. Installation path: $INSTALL_DIR EOF - [ -z "${DOMAIN}" ] && { [ "$INTERACTIVE" = "true" ] || { printf '%s\n' "OPENOPS_DOMAIN is not set" >&2; exit 1; }; printf 'Enter your domain: '; IFS= read -r DOMAIN < /dev/tty ; } - echo "Domain: $DOMAIN" + [ -z "${DOMAIN}" ] && { [ "$INTERACTIVE" = "true" ] || { printf '%s\n' "OPENOPS_DOMAIN is not set" >&2; exit 1; }; printf 'Enter your fully qualified domain name: '; IFS= read -r DOMAIN < /dev/tty ; } + echo "Fully qualified domain name: $DOMAIN" [ -z "${EMAIL}" ] && { [ "$INTERACTIVE" = "true" ] || { printf '%s\n' "OPENOPS_EMAIL is not set" >&2; exit 1; }; printf 'Enter your email for certificate related notifications: '; IFS= read -r EMAIL < /dev/tty ; } echo "Email: $EMAIL" check_for_user_confirmation @@ -189,4 +189,4 @@ create_certificates() { main -echo \ No newline at end of file +echo