【发布时间】:2015-07-16 13:04:20
【问题描述】:
我在 Google Compute Engine 上使用 Apache/2.2.22 (Debian) 和 Wordpress 安装(点击部署)。
我正在尝试为 Wordpress 安装设置 SSL 证书 (https)。我创建了一个静态 IP、一个私钥、一个 CSR,并将 SSL 和中间 crt 文件(来自 freeSSL.com)上传到 etc/apache2/ssl(使用私钥)并授予此文件夹 root:root 权限。
我已经关注https://www.digitalocean.com/community/tutorials/how-to-create-a-ssl-certificate-on-apache-for-debian-7 并按照指示更新了 default-ssl 配置文件(将路径名更新为 .crt 和 .key 文件、ServerName 和 ServerAdmin)。
我运行了一个 configtest(语法正常),启用了 default-ssl 并重新启动了 apache。当我访问 https://domain 或 https://ip-address 时,我收到“此网页不可用”错误 (ERR_CONNECTION_CLOSED)。 wordpress 安装仍然可以在 http 上加载。
https://www.digicert.com/help/ 的 SSL 检查器给了我一个“未找到证书”错误,尽管证书在那里。
【问题讨论】:
标签: apache ssl https debian google-cloud-platform