今天在搭建Tomcat +Nginx 时,提示我没有安装OpenSSl。
</pre><pre name="code" class="html">./configure: error: SSL modules require the OpenSSL library. You can either do not enable the modules,or install the OpenSSL library into the system,or build the OpenSSL library statically from the source with Nginx by using --with-openssl=<path> option.
发现了问题,我们就得解决问题,CentOs 安装OpenSSL 的详细步骤如下:
1、安装OpenSSL
# tar zxvf openssl-1.0.0a.tar.gz
# cd openssl-1.0.0a
# ./config --prefix=/usr/local/openssl
# make && make install