apache 2.2.19 for linux,Linux Install Apache-2.2 for SSL

# tar -jxvf httpd-2.2.14.tar.bz2

# cd httpd-2.2.14

# ./configure --prefix=/usr/local/apache-2.2.14 --enable-so --enable-ssl

#make

#make install

#cd ~

#openssl genrsa -des3 -out server.key 1024 //

#openssl req -new -key server.key -out server.csr

#openssl x509 -req -days 3650 -in server.csr -signkey server.key -out server.crt

# openssl rsa -in server.key -out server.key.nopass // 将服务器私钥去掉密码 将生成的server.key.nopass复盖到conf/server.key

#cp server.* /usr/local/apache-2.2.14/conf/

#cd /usr/local/apache-2.2.14/conf/

#ls

#vi /usr/local/apache-2.2.14/conf/httpd.conf

开启SSL

# Secure (SSL/TLS) connections

Include conf/extra/httpd-ssl.conf

#/usr/local/apache-2.2.14/bin/apachectl start

IE访问:

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值