步骤1:配置 APACHE以支持SSL 找到下面两行去掉前面的注释 # LoadModule ssl_module modules/mod_ssl.so Include conf/extra/httpd-ssl.conf 步骤2: 为网站服务器生成证书及私钥文件 C:Program FilesApache Software FoundationApache2.2bin>openssl genrsa -out server.key 生成一个server.key 步骤3:生成签署申请 C:Program FilesApache Software FoundationApache2.2bin>openssl req -new -out server.csr -key server.key -config ..confopenssl.cnf 此时生成签署文件 SERVER.CSR 步骤4:使用OPENSSL生成CA私钥 C:Program FilesApache Software FoundationApache2.2bin>openssl genrsa -out ca.key 多出CA.key文件 步骤5:利用CA的私钥产生CA的自签署证书 C:Program FilesApache Software FoundationApache2.2bin>openssl req -new -x -days -key ca.key -out ca.crt -config ..confopenssl.cnf 步骤6:在bin目录下新建demoCA目录,在demoCA下新建index.txt,newcerts,serial 目录结构如下 demoCA |--index.txt(文本,内容为空) |--newcerts(文件夹) |--serial(文本,内容为 ) 步骤7:准备为网站服务器签署证书 C:Program FilesApache Software FoundationApache2.2bin>openssl ca -in server.csr -out server.crt -cert ca.crt -keyfile ca.key -config ..confopenssl.cnf 生成 server.crt文件 步骤8:将 server.crt server.key复制到 conf文件夹下 ------------------配置ssl常见问题--------------------- win7系统位在配置过程中,在重启apache时可能会出现问题 问题1:apache重启失败,报错信息Syntax error on line of C:/Program Files (x)/Apache Software Foundation/Apache2.2/conf/extra/httpd-ssl.conf: SSLSessionCache: Invalid argument: size has to be >= bytes 解决办法: 将confextrahttpd-ssl.conf中-行修改成下面这样即可SSLSessionCache "dbm:C:/Program Files (x)/Apache Software Foundation/Apache2.2/logs/ssl_scache" # SSLSessionCache "shmcb:C:/Program Files (x)/Apache Software Foundation/Apache2.2/logs/ssl_scache()" SSLSessionCacheTimeout
推荐整理分享windows下安装apache并配置ssl全过程(windows 安装app),希望有所帮助,仅作参考,欢迎阅读内容。

文章相关热门搜索词:window安装apache,windows 安装app,windows安装apache,windows下安装openssh,windows下安装nas,windows下安装nas,windows下安装apache,windows下安装nas,内容如对您有帮助,希望把文章链接给更多的朋友!
windows共享文件时右键不出现共享没有共享的选项 windows右键不出现共享的解决方法问题现象:当我们想在window下共享文件时,发现右击文件夹,并没有共享的选项解决步骤:首先验证:A.是否administra
windows安装网络打印机的步骤 第一步:将打印机连接至主机,打开打印机电源,通过主机的控制面板进入到打印机和传真文件夹,在空白处单击鼠标右键,选择添加打印机命令,打开
Windows资源管理器假死卡住不能操作的解决方法 很多国产的浏览器都有防假死功能,那么,何谓防假死?你有没有碰到Windows系统整个卡住的情况,好比打开一个含电影较多的文件夹时资源管理器卡住了