このページの翻訳:
- 日本語 (ja)
- English (en)
最近の更新
- 04 ↷ 50_dialy:2024:04:04 から 50_dialy:2024:04:05 へページを名称変更しました。
- 2024.04.02 Homebrewを入れる [各バージョン確認]
最近の更新
文書の過去の版を表示しています。
CentOS5 の opensslが、openssl-0.9.8e-34.el5_11
これだとTLSに対応してないので、curlやwgetなどやると下記のエラーになってしまう。。。
error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
新しいOpensslを入れてあげる
wget https://www.openssl.org/source/openssl-1.0.2r.tar.gz ./config shared enable-ssl2 enable-ssl3 --prefix=/usr make make install openssl version echo '/usr/lib' > /etc/ld.so.conf.d/openssl.conf
1.16.1以上でtls1.1 tls1.2対応
wget http://ftp.gnu.org/gnu/wget/wget-1.16.1.tar.gz yum -y remove wget tar -xzvf wget-1.16.1.tar.gz cd wget-1.16.1 ./configure --with-ssl=openssl --prefix=/usr make && make install
# cd /usr/local/src # wget https://curl.haxx.se/download/curl-7.58.0.tar.gz # tar xzvf curl-7.58.0.tar.gz # cd curl-7.58.0 # ./configure --enable-libcurl-option --with-ssl=/usr --prefix=/usr $ curl -L -O [URL]