在apache httpServer布署https协议
修改.\conf\httpd.conf
Include conf/extra/httpd-ssl.conf
LoadModule ssl_module modules/mod_ssl.so
ServerName Nemo-20100613CG:80
修改.\conf\extra\httpd-ssl.conf
SSLCertificateFile "D:/tools/opensslca/server.crt"
SSLCertificateKeyFile "D:/tools/opensslca/server.key"
修改.\conf\mod_jk.conf
<VirtualHost Nemo-20100613CG:80>
修改\extra\httpd-ssl.conf
DocumentRoot "f:/code"
ServerName Nemo-20100613CG:443
ServerAdmin zhenhuayue@sina.com
ErrorLog "D:/tools/Apache Software Foundation/Apache2.2/logs/error.log"
DirectoryIndex index.html index.htm index.jsp index.action
JkMount /*WEB-INF localworker1
JkMount /*.action localworker1
JkMount /servlet/* localworker1
JkMount /*.jsp localworker1
JkMount /*.do localworker1
JkMount /*.action localworker1
JkMountFile "conf/uriworkermap.properties"
重启apache服务器
https 学习笔记二
最新推荐文章于 2024-06-30 11:17:24 发布