windows下 nginx 配置ssl的key是不能存储密码的,否则启动时会提示输入密码
输入后也启动不起来,会报错:
2011/04/18 09:49:09 [alert] 1992#4548: the event "ngx_master_1992" was
not signaled for 5s
解决方案是将密码刨掉,用法:
openssl rsa -in f:/ssl.key -out f:/ssl.key.unsecure
附上windows openssl下载地址:
输入后也启动不起来,会报错:
2011/04/18 09:49:09 [alert] 1992#4548: the event "ngx_master_1992" was
not signaled for 5s
解决方案是将密码刨掉,用法:
openssl rsa -in f:/ssl.key -out f:/ssl.key.unsecure
附上windows openssl下载地址:
http://sourceforge.net/projects/gnuwin32/files/openssl/0.9.8h-1/openssl-0.9.8h-1-bin.zip/download
本文介绍在Windows环境下配置Nginx使用SSL时遇到的问题及解决方法。当SSL密钥文件包含密码时,Nginx启动过程中会出现错误提示并无法正常启动。文章提供了去除密码的方法,并附带了Windows版OpenSSL的下载链接。
8979

被折叠的 条评论
为什么被折叠?



