install_httpd-2.4.sh: for now, we take the default ssl cipher instead of setting custom ciphers.

This commit is contained in:
Christoph 2021-10-23 22:46:27 +02:00
parent c23a2328ec
commit ec0372e194

View File

@ -2372,22 +2372,22 @@ EOF
echo_skipped echo_skipped
fi fi
## - Set SSLCipherSuite # ## - Set SSLCipherSuite
## - # ## -
echo "" >> ${_logdir}/main.log # echo "" >> ${_logdir}/main.log
echo "## - $_file: Set SSLCipherSuite.." >> ${_logdir}/main.log # echo "## - $_file: Set SSLCipherSuite.." >> ${_logdir}/main.log
echo "## -" >> ${_logdir}/main.log # echo "## -" >> ${_logdir}/main.log
echo "sed -i$_backup_suffix -r -e \"s&^(([ ^t]*SSLCipherSuite ).*)$&## \1\n\2${_SSL_Cipher_Suite}&g\" ${PREFIX}/${_rel_confextra_path}/${_file}" >> ${_logdir}/main.log # echo "sed -i$_backup_suffix -r -e \"s&^(([ ^t]*SSLCipherSuite ).*)$&## \1\n\2${_SSL_Cipher_Suite}&g\" ${PREFIX}/${_rel_confextra_path}/${_file}" >> ${_logdir}/main.log
echononl "\t$_file: Set SSLCipherSuite.." # echononl "\t$_file: Set SSLCipherSuite.."
sed -i$_backup_suffix -r \ # sed -i$_backup_suffix -r \
-e "s&^(([ ^t]*SSLCipherSuite ).*)$&## \1\n\2${_SSL_Cipher_Suite}&g" \ # -e "s&^(([ ^t]*SSLCipherSuite ).*)$&## \1\n\2${_SSL_Cipher_Suite}&g" \
${PREFIX}/${_rel_confextra_path}/${_file} >> ${_logdir}/main.log 2>&1 # ${PREFIX}/${_rel_confextra_path}/${_file} >> ${_logdir}/main.log 2>&1
if [ "0" = $? ]; then # if [ "0" = $? ]; then
echo_ok # echo_ok
rm ${PREFIX}/${_rel_confextra_path}/${_file}$_backup_suffix # rm ${PREFIX}/${_rel_confextra_path}/${_file}$_backup_suffix
else # else
echo_failed # echo_failed
fi # fi
## - Set SSLCertificateFile ## - Set SSLCertificateFile
@ -2408,22 +2408,22 @@ EOF
fi fi
## - Set SSLProxyCipherSuite # ## - Set SSLProxyCipherSuite
## - # ## -
echo "" >> ${_logdir}/main.log # echo "" >> ${_logdir}/main.log
echo "## - $_file: Set SSLProxyCipherSuite.." >> ${_logdir}/main.log # echo "## - $_file: Set SSLProxyCipherSuite.." >> ${_logdir}/main.log
echo "## -" >> ${_logdir}/main.log # echo "## -" >> ${_logdir}/main.log
echo "sed -i$_backup_suffix -r -e \"s&^(([ ^t]*SSLProxyCipherSuite ).*)$&## \1\n\2${_SSL_Cipher_Suite}&g\" ${PREFIX}/${_rel_confextra_path}/${_file}" >> ${_logdir}/main.log # echo "sed -i$_backup_suffix -r -e \"s&^(([ ^t]*SSLProxyCipherSuite ).*)$&## \1\n\2${_SSL_Cipher_Suite}&g\" ${PREFIX}/${_rel_confextra_path}/${_file}" >> ${_logdir}/main.log
echononl "\t$_file: Set SSLProxyCipherSuite.." # echononl "\t$_file: Set SSLProxyCipherSuite.."
sed -i$_backup_suffix -r \ # sed -i$_backup_suffix -r \
-e "s&^(([ ^t]*SSLProxyCipherSuite ).*)$&## \1\n\2${_SSL_Cipher_Suite}&g" \ # -e "s&^(([ ^t]*SSLProxyCipherSuite ).*)$&## \1\n\2${_SSL_Cipher_Suite}&g" \
${PREFIX}/${_rel_confextra_path}/${_file} >> ${_logdir}/main.log 2>&1 # ${PREFIX}/${_rel_confextra_path}/${_file} >> ${_logdir}/main.log 2>&1
if [ "0" = $? ]; then # if [ "0" = $? ]; then
echo_ok # echo_ok
rm ${PREFIX}/${_rel_confextra_path}/${_file}$_backup_suffix # rm ${PREFIX}/${_rel_confextra_path}/${_file}$_backup_suffix
else # else
echo_failed # echo_failed
fi # fi
## - Set SSLProtocol ## - Set SSLProtocol