add manual cert locations preamble

This commit is contained in:
Asif Bacchus 2019-01-05 02:27:58 -07:00
parent b0a72fa9c2
commit 049ed27091
1 changed files with 4 additions and 0 deletions

View File

@ -223,6 +223,10 @@ fi
# only process manual certificate paths if NOT using Certbot
if [ "${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 "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."
# not using Certbot: get location of certificate
while true; do
read -p "What is the path to your primary SSL certificate? " inputCertPath