From a4339af0270b0e58423649691bc11596ba95f559 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Sun, 6 Jan 2019 05:43:24 -0700 Subject: [PATCH] added warning to certificate preamble about missing cert --- .vscode/numbered-bookmarks.json | 4 ++-- setup.sh | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.vscode/numbered-bookmarks.json b/.vscode/numbered-bookmarks.json index 06e7121..574fad7 100644 --- a/.vscode/numbered-bookmarks.json +++ b/.vscode/numbered-bookmarks.json @@ -6,13 +6,13 @@ -1, 30, 44, - 699, + 700, -1, -1, -1, -1, -1, - 691 + 692 ] } ] diff --git a/setup.sh b/setup.sh index fd24a89..1e43f5b 100755 --- a/setup.sh +++ b/setup.sh @@ -279,10 +279,11 @@ fi # only process manual certificate paths if using SSL and NOT using Certbot if [ "${useSSL}" -eq 1 ] && [ "${useCertbot}" -eq 0 ]; then - echo -e "\n${mag}NGINX requires the full paths to your PEM formatted certificates, private keys" - echo "and your CA-chain in order to serve pages securely and properly over SSL." + echo -e "\n${mag}NGINX requires the full paths to your PEM formatted certificate and" + echo "private key in order to serve pages securely and properly over SSL." echo "If you haven't generated/copied your certificates yet, you can enter the" - echo -e "paths where they will be located and confirm when prompted by the script.${norm}" + echo "paths where they will be located and confirm when prompted by the script." + echo -e "${warn}NGINX will NOT work until these files are actually copied!${norm}" # not using Certbot: get location of certificate while true; do read -p "What is the path to your primary SSL certificate? " inputCertPath