apache with ssl安装,apache with ssl安装
【 tulaoshi.com - PHP 】
apache为1.3.11 mysql+php3tar zxvf mm
tar zxvf openssl
tar zxvf mod_ssl
makdir rsaref-2.0
cd rsaref-2.0
gzip -d -c ../rsaref20.tar.z | tar xvf -
cp -rp install/unix local
cd local
make
mv rsaref.a librsaref.a
cd openssl
config -fPIC
make
make test
cd mm
./configure --disable-shared
make
cd mod_ssl
./configure --with-apache=../apache
--with-crt=/path/to/your/server.crt
--with-key=/path/to/your/server.key 如未申请,不加此项设定
cd apache
SSL+BASE=../openssl
EAPI_MM=../mm
./configure --enable-module=ssl
--prefix=/usr/local/httpd
--activate-module=src/modules/php3/libphp3.a
make
(make certificate 如未申请认证,则以此产生一个测试用的认证。)
make install
启动:apachectl startssl
来源:http://www.tulaoshi.com/n/20160129/1495804.html
看过《apache with ssl安装》的人还看了以下文章 更多>>