SSLPassPhraseDialog builtin is not supported on Win32
来源:互联网 发布:js处理jsonarray 编辑:程序博客网 时间:2024/05/22 07:55
最近由于工作内容的要求,需要加入https,翻查很多e文资料,恶补ssl基本知识,基本知识了解一番后,开始动手创建证书,以为没有什么大问题,没想到一动手apache就出现错误:SSLPassPhraseDialog builtin is not supported on Win32。Win32平台不支持加密密钥,启动Apache时就产生了上述错误,如何解决呢?
在解决问题之前,先看看产生问题的环境,本人研究https环境是:
1、httpd-2.2.15-win32-x86-openssl-0.9.8m-r2.msi
2、windows2003
3、Openssl-windows-0.9.8k out32dll
基于ssl基础知识,网上很多,这里就不多说了,自己去查阅吧。
问题的产生过程(自签证书):openssl req -new -x509 -days 360 -keyout server.key -out server.crt -subj /CN=testby -config D:/soft/apache/Apache2.2/conf/openssl.cnf
在执行过程中要求输入密码,输入密码后,没有任何问题,出现server.key 及server.crt文件,把两个文件移动到conf文件夹下,
运行apache httpd -k start 发现,不能启动,查看Logs发现:
SSLPassPhraseDialog builtin is not supported on Win32 (key file D:/soft/apache/Apache2.2/conf/server.key)。
原来Win32平台不支持加密密钥,晕了。。。,客户非得使用windows作为服务器,咋办呢?
问题解决思路:既然不支持加密,就把server.key的文件解密,同时注释掉httpd-ssl.conf文件中SSLPassPhraseDialog 。
1、复制server.key 为server.key.org
2、对server.key.org解密 openssl rsa -in server.key.org -out server.key s输入密码后解密成功
3、打开httpd-ssl.conf 找到SSLPassPhraseDialog builtin 在前面加上#
好了,重新httpd -k start 成功运行apche,问题解决。
参考资料:
http://www.symantec.com/connect/search?filters=type%3Aarticle%20tid%3A691&newsearch=1
http://blog.sina.com.cn/s/blog_4905fa450100efsk.html
- SSLPassPhraseDialog builtin is not supported on Win32
- Error:-81024 LR_VUG:The 'QTWeb' type is not supported on win32 platforms
- pandas-0.19.2-cp34-cp34m-win32.whl is not a supported wheel on this platform.
- win10 运行LoadRunner报错“Error (-81024): LR_VUG: The 'QTWeb' type is not supported on 'WIN32' platforms”
- .net错误 resourcepool is not supported on the current platform
- TextOut is not supported on CE , use DrawText or ExtTextOut
- 问题解决: @Resource annotation is not supported on static fields
- @Resource annotation is not supported on static fields
- Detected sqlite3 gem which is not supported on Heroku
- filename.whl is not supported wheel on this platform
- whl is not a supported wheel on this platform.
- Resource annotation is not supported on static fields
- ssl is not supported
- bash [[: not found, '[[' is a keyword not a builtin
- Address Family is not supported
- SNMP++: Transport is not supported
- svn: SSL is not supported
- Redirection is not supported.解决
- android开发手机无法debug的解决方法
- 白手起家需要考虑的27个创业原则
- sqlserver 实现递归
- 用户异常掉线检测
- Windows NT/2000/XP Native API比较列表
- SSLPassPhraseDialog builtin is not supported on Win32
- COM原理及应用----COM对象和接口
- 桌面图标修复
- OpenSessionInView
- COM原理与应用----COM的实现
- 存储过程 分页
- COM原理及应用----COM特性
- j2me中低级界面的主界面制作(可美观性很强)
- 关于用户控件中调用不同页面的方法