在 apache 服务器上检查 ssl 设置的工具
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1664253/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Tool to check up ssl setup on apache server
提问by aartist
My Apache server works fine without -DSSL, but does not start with SSL. This happened after I re-install the certificate because of expiration. (it used to work before) I would love to have some tool to check up if my newer setup of ssl key and certificate is correct or not. That would include permission, ownership etc.. Or is there any way to figure out why it doesn't work with SSL?
我的 Apache 服务器在没有 -DSSL 的情况下工作正常,但不以 SSL 开头。由于过期,在我重新安装证书后发生了这种情况。(它曾经工作过)我很想有一些工具来检查我的 ssl 密钥和证书的新设置是否正确。这将包括许可、所有权等。或者有什么方法可以弄清楚为什么它不能与 SSL 一起使用?
采纳答案by Pascal Thivent
You can check your configuration files for syntax errors without starting the server by using apachectl configtestor the -tcommand line option.
您可以使用apachectl configtest或-t命令行选项检查配置文件是否存在语法错误,而无需启动服务器。
That said, I don't think that Apache fails silently. There must be something in Apache's logs. Can you check this and provide the trace?
也就是说,我不认为 Apache 会默默地失败。Apache 的日志中肯定有一些内容。你能检查一下并提供跟踪吗?
PS: You should add details on your environment such as your OS (Windows, GNU/Linux, Unix, etc), the Apache version, etc. This could help.
PS:您应该添加有关您的环境的详细信息,例如您的操作系统(Windows、GNU/Linux、Unix 等)、Apache 版本等。这可能会有所帮助。
回答by hpavc
I would suggest, https://globalsign.ssllabs.com/if your website is publically available.
如果您的网站是公开可用的,我建议https://globalsign.ssllabs.com/。

