From ec0372e194585d2fd83e240ab26b74680d033d72 Mon Sep 17 00:00:00 2001 From: Christoph Date: Sat, 23 Oct 2021 22:46:27 +0200 Subject: [PATCH] install_httpd-2.4.sh: for now, we take the default ssl cipher instead of setting custom ciphers. --- install_httpd-2.4.sh | 64 ++++++++++++++++++++++---------------------- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/install_httpd-2.4.sh b/install_httpd-2.4.sh index 0190833..e046938 100755 --- a/install_httpd-2.4.sh +++ b/install_httpd-2.4.sh @@ -2372,22 +2372,22 @@ EOF echo_skipped fi - ## - Set SSLCipherSuite - ## - - echo "" >> ${_logdir}/main.log - echo "## - $_file: Set SSLCipherSuite.." >> ${_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 - echononl "\t$_file: Set SSLCipherSuite.." - sed -i$_backup_suffix -r \ - -e "s&^(([ ^t]*SSLCipherSuite ).*)$&## \1\n\2${_SSL_Cipher_Suite}&g" \ - ${PREFIX}/${_rel_confextra_path}/${_file} >> ${_logdir}/main.log 2>&1 - if [ "0" = $? ]; then - echo_ok - rm ${PREFIX}/${_rel_confextra_path}/${_file}$_backup_suffix - else - echo_failed - fi +# ## - Set SSLCipherSuite +# ## - +# echo "" >> ${_logdir}/main.log +# echo "## - $_file: Set SSLCipherSuite.." >> ${_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 +# echononl "\t$_file: Set SSLCipherSuite.." +# sed -i$_backup_suffix -r \ +# -e "s&^(([ ^t]*SSLCipherSuite ).*)$&## \1\n\2${_SSL_Cipher_Suite}&g" \ +# ${PREFIX}/${_rel_confextra_path}/${_file} >> ${_logdir}/main.log 2>&1 +# if [ "0" = $? ]; then +# echo_ok +# rm ${PREFIX}/${_rel_confextra_path}/${_file}$_backup_suffix +# else +# echo_failed +# fi ## - Set SSLCertificateFile @@ -2408,22 +2408,22 @@ EOF fi - ## - Set SSLProxyCipherSuite - ## - - echo "" >> ${_logdir}/main.log - echo "## - $_file: Set SSLProxyCipherSuite.." >> ${_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 - echononl "\t$_file: Set SSLProxyCipherSuite.." - sed -i$_backup_suffix -r \ - -e "s&^(([ ^t]*SSLProxyCipherSuite ).*)$&## \1\n\2${_SSL_Cipher_Suite}&g" \ - ${PREFIX}/${_rel_confextra_path}/${_file} >> ${_logdir}/main.log 2>&1 - if [ "0" = $? ]; then - echo_ok - rm ${PREFIX}/${_rel_confextra_path}/${_file}$_backup_suffix - else - echo_failed - fi +# ## - Set SSLProxyCipherSuite +# ## - +# echo "" >> ${_logdir}/main.log +# echo "## - $_file: Set SSLProxyCipherSuite.." >> ${_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 +# echononl "\t$_file: Set SSLProxyCipherSuite.." +# sed -i$_backup_suffix -r \ +# -e "s&^(([ ^t]*SSLProxyCipherSuite ).*)$&## \1\n\2${_SSL_Cipher_Suite}&g" \ +# ${PREFIX}/${_rel_confextra_path}/${_file} >> ${_logdir}/main.log 2>&1 +# if [ "0" = $? ]; then +# echo_ok +# rm ${PREFIX}/${_rel_confextra_path}/${_file}$_backup_suffix +# else +# echo_failed +# fi ## - Set SSLProtocol