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
|
# dhparam: get location of DH Parameters file
|
||||||
if [ "${useSSL}" -eq 1 ]; then
|
if [ "${useSSL}" -eq 1 ]; then
|
||||||
echo -e "\n${mag}Having your own unique Diffie-Hellman Parameters file makes your SSL"
|
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 "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 "numbers. You shouldn't use any pre-installed dhparam.pem files. You should"
|
||||||
echo "always generate your own."
|
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 "\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 -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 "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 "without sacrificing security, the process may still take up to 20+ minutes"
|
||||||
echo -e "depending on your hardware.${norm}\n"
|
echo -e "depending on your hardware.${norm}\n"
|
||||||
while true; do
|
while true; do
|
||||||
read -p "What is the path to your DH Parameters file? (default: /etc/ssl/certs/dhparam.pem) " inputDHPath
|
read -p "What is the path to your DH Parameters file? (default: /etc/ssl/certs/dhparam.pem) " inputDHPath
|
||||||
case "${inputDHPath}" in
|
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}"
|
echo -e "\n${err}Path must be absolute not relative. Please re-enter starting with '/'${norm}"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user