fixed missing newline at end of cert preamble

This commit is contained in:
Asif Bacchus 2019-01-06 05:44:46 -07:00
parent a4339af027
commit 498b0ec26e
1 changed files with 2 additions and 2 deletions

View File

@ -283,7 +283,7 @@ if [ "${useSSL}" -eq 1 ] && [ "${useCertbot}" -eq 0 ]; then
echo "private key in order to serve pages securely and properly over SSL." 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 "If you haven't generated/copied your certificates yet, you can enter the"
echo "paths where they will be located and confirm when prompted by the script." 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}" echo -e "${warn}NGINX will NOT work until these files are actually copied!${norm}\n"
# not using Certbot: get location of certificate # not using Certbot: get location of certificate
while true; do while true; do
read -p "What is the path to your primary SSL certificate? " inputCertPath read -p "What is the path to your primary SSL certificate? " inputCertPath
@ -372,7 +372,7 @@ if [ "${useSSL}" -eq 1 ] && [ "${useCertbot}" -eq 0 ]; then
echo "it as in the future and confirm it when the scripts prompts you. In that" echo "it as in the future and confirm it when the scripts prompts you. In that"
echo -e "case, however, ${warn}NGINX will not work until that file actually exists.${mag}" echo -e "case, however, ${warn}NGINX will not work until that file actually exists.${mag}"
echo -e "\nIf you are using a self-signed certificate or do not want OSCP stapling, leave" echo -e "\nIf you are using a self-signed certificate or do not want OSCP stapling, leave"
echo -e "this blank ${warn}(hit enter)${mag} and the relevant configuration section will be disabled.${norm}" echo -e "this blank ${warn}(hit enter)${mag} and the relevant configuration section will be disabled.${norm}\n"
while true; do while true; do
read -p "What is the path to your primary SSL CA Chain certificate? " inputCAChainPath read -p "What is the path to your primary SSL CA Chain certificate? " inputCAChainPath
case "${inputCAChainPath}" in case "${inputCAChainPath}" in