Oracle/DB2/Postgresql/Mysql/Hadoop/Greenplum/Postgres-xl/Mongodb
分类: LINUX
2013-05-22 11:33:29
# 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访问: