OpenSSL とは暗号ライブラリ SSLeay を元に Secure Sockets Layer (SSL v2/v3) と世界標準の暗号プロトコルである Transport Layer Security (TSL v1) を実装したプログラムです。
OpenSSL 公式サイト から OpenSSL のソースファイルをダウンロードしてインストールする方法を紹介します。
OpenSSL のダウンロードとインストール
OpenSSL のソースファイルを OpenSSL 公式サイト からダウンロードしてコンパイル、インストールを行います。
# wget -P /usr/local/src http://www.openssl.org/source/openssl-0.9.8d.tar.gz![](/images/enter.gif)
# cd /usr/local/src![](/images/enter.gif)
# tar xzf openssl-0.9.8d.tar.gz![](/images/enter.gif)
# cd openssl-0.9.8d![](/images/enter.gif)
# ./config --prefix=/usr/local![](/images/enter.gif)
# make![](/images/enter.gif)
# make install![](/images/enter.gif)
![](/images/enter.gif)
# cd /usr/local/src
![](/images/enter.gif)
# tar xzf openssl-0.9.8d.tar.gz
![](/images/enter.gif)
# cd openssl-0.9.8d
![](/images/enter.gif)
# ./config --prefix=/usr/local
![](/images/enter.gif)
# make
![](/images/enter.gif)
# make install
![](/images/enter.gif)
— configure オプションの解説
- インストール先のディレクトリを設定します。
- –prefix=/usr/local