install_httpd-2.4.sh: for now, we take the default ssl cipher instead of setting custom ciphers.
This commit is contained in:
parent
c23a2328ec
commit
ec0372e194
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user