fixed code indent problem
This commit is contained in:
parent
02489e6813
commit
40595027fe
22
setup.sh
22
setup.sh
@ -453,16 +453,16 @@ fi
|
||||
|
||||
# dhparam: get location of DH Parameters file
|
||||
if [ "${useSSL}" -eq 1 ]; then
|
||||
echo -e "\n${mag}Having your own unique Diffie-Hellman Parameters file makes your SSL"
|
||||
echo "communication more secure by pre-generating safe large prime and generator"
|
||||
echo "numbers. You shouldn't use any pre-installed dhparam.pem files. You should"
|
||||
echo "always generate your own."
|
||||
echo -e "\nIf you haven't done that already and would like this script to do it for"
|
||||
echo -e "you, please type ${warn}generate${mag} at the prompt instead of a path."
|
||||
echo "Please note that although this process uses DSA-primes to speed things up"
|
||||
echo "without sacrificing security, the process may still take up to 20+ minutes"
|
||||
echo -e "depending on your hardware.${norm}\n"
|
||||
while true; do
|
||||
echo -e "\n${mag}Having your own unique Diffie-Hellman Parameters file makes your SSL"
|
||||
echo "communication more secure by pre-generating safe large prime and generator"
|
||||
echo "numbers. You shouldn't use any pre-installed dhparam.pem files. You should"
|
||||
echo "always generate your own."
|
||||
echo -e "\nIf you haven't done that already and would like this script to do it for"
|
||||
echo -e "you, please type ${warn}generate${mag} at the prompt instead of a path."
|
||||
echo "Please note that although this process uses DSA-primes to speed things up"
|
||||
echo "without sacrificing security, the process may still take up to 20+ minutes"
|
||||
echo -e "depending on your hardware.${norm}\n"
|
||||
while true; do
|
||||
read -p "What is the path to your DH Parameters file? (default: /etc/ssl/certs/dhparam.pem) " inputDHPath
|
||||
case "${inputDHPath}" in
|
||||
'')
|
||||
@ -531,7 +531,7 @@ while true; do
|
||||
echo -e "\n${err}Path must be absolute not relative. Please re-enter starting with '/'${norm}"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
done
|
||||
fi
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user