updated DHparam preamble
This commit is contained in:
parent
4e37d7bb31
commit
7b91963f7f
11
setup.sh
11
setup.sh
@ -433,11 +433,14 @@ 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 helping to generate unique safe large prime"
|
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. If you haven't done that already and would like this"
|
echo "always generate your own."
|
||||||
echo -e "script to do it for you, please type ${warn}generate${mag} at the prompt instead"
|
echo -e "\nIf you haven't done that already and would like this script to do it for"
|
||||||
echo -e "of a path${norm}\n"
|
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
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user