add manual cert locations preamble

This commit is contained in:
Asif Bacchus 2019-01-05 02:27:58 -07:00
parent b0a72fa9c2
commit 049ed27091

View File

@ -223,6 +223,10 @@ fi
# only process manual certificate paths if NOT using Certbot # only process manual certificate paths if NOT using Certbot
if [ "${useCertbot}" -eq 0 ]; then 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 # 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