apache https配置

修改httpd.conf

  • 添加端口监听
Listen 443
  • 添加https处理类库
LoadModule ssl_module modules/mod_ssl.so
Include conf/extra/httpd-ssl.conf
#去掉上面两行前的"#"
  • 虚拟主机配置
apache https配置
<VirtualHost *:443>
DocumentRoot "D:\phpStudy\WWW"
ServerName wwlsz.cn

SSLEngine on
SSLCertificateFile "D:\webSslKey\2_wwxx.cn.crt"
SSLCertificateKeyFile "D:\webSslKey\3_wwxx.cn.key"
#SSLCertificateChainFile "D:\webSslKey\1_root_bundle.crt"
</VirtualHost>
#<Directory "D:\phpStudy\WWW"/>
#    Options Indexes FollowSymLinks Includes ExecCGI
#    AllowOverride All
#    Order allow,deny
#    Allow from all
#    Require all granted
#</Directory>
apache https配置







本文转自秋楓博客园博客,原文链接:http://www.cnblogs.com/rwxwsblog/p/5565662.html,如需转载请自行联系原作者
上一篇:友盟推送集成方案攻略(Push SDK 6.2.0版本)


下一篇:聊聊HTTPS和SSL/TLS协议