我们有一个脚本可以从github下载mod安全,最近开始失败。服务器运行CentOS 6,但RHEL 6可能有相同的问题。输出为:
# wget https://github.com/downloads/SpiderLabs/ModSecurity/modsecurity-apache_2.7.1.tar.gz
--2014-07-22 18:49:46-- https://github.com/downloads/SpiderLabs/ModSecurity/modsecurity-apache_2.7.1.tar.gz
Resolving github.com... 192.30.252.129
Connecting to github.com|192.30.252.129|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://cloud.github.com/downloads/SpiderLabs/ModSecurity/modsecurity-apache_2.7.1.tar.gz [following]
--2014-07-22 18:49:47-- https://cloud.github.com/downloads/SpiderLabs/ModSecurity/modsecurity-apache_2.7.1.tar.gz
Resolving cloud.github.com... 54.230.99.219, 205.251.219.190, 54.230.97.212, ...
Connecting to cloud.github.com|54.230.99.219|:443... connected.
OpenSSL: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
Unable to establish SSL connection.
关于如何解决或解决此问题的任何想法?
更具体地说,无论是54.230.99.219还是我为cloud.github.com获得的几个(不同的)A都给s_client握手失败,而没有ServerNameIndication选项。serverfault.com/questions/560053/…说(几个月前)RedHat wget不执行SNI,但是curl可以。
—
dave_thompson_085
您很幸运接受我的回答
—
Anton Dozortsev 2014年
好吧,说实话,我希望@ dave_thompson_085或Rabin将其评论作为答案发表,因为我认为这是长期的解决方案,即使您的解决方法也很有效!
—
克里斯托弗
curl