http://wiki.nginx.org/HttpSslModulehttp://zou.lu/nginx-https-ssl-module/http://www.21andy.com/blog/20100224/1714.htmlhttp://blog.51yip.com/apachenginx ...
分类:
其他好文 时间:
2017-07-02 11:38:51
阅读次数:
154
前提:1、主机要先安装openssl2、编译安装nginx时,要加上--with-openssl和--with-http_ssl_module1、生成自签字证书[root@101/]#opensslreq-new-x509-keyout/root/ca.key-out/root/ca.crt
Generatinga2048bitRSAprivatekey
.............+++
..................................
分类:
Web程序 时间:
2016-09-01 00:24:04
阅读次数:
167
环境 首先确保机器上安装了openssl和openssl-devel 确认nginx是否安装了SSL模块,如下的命令: 看是否输出--with-http_ssl_module,如果没有需要重新配置并安装下。 创建证书 【自己颁发证书给自己】 会给出如下的提示: 冒号后面是需要我们填写的,最后两个我都 ...
分类:
Web程序 时间:
2016-07-12 14:00:18
阅读次数:
265
1. 安装nginx 支持ssl模块 http://nginx.org/en/docs/configure.html 2. 配置nginx http://nginx.org/en/docs/http/configuring_https_servers.html 3.生成本地证书 在当前目录下会创建出 ...
分类:
Web程序 时间:
2016-05-21 21:48:48
阅读次数:
239
在任意路径下(例如/opt/nginx/crt/)执行以下命令,生成证书和key:opensslgenrsa-des3-outopenssl.key1024opensslreq-new-x509-keyopenssl.key-outopenssl.crt-days3650opensslrsa-inopenssl.key-outopenssl_nopass.key生成的证书:openssl.crt证书的key:openssl_nopass.key编..
分类:
Web程序 时间:
2015-04-26 01:31:18
阅读次数:
213