【发布时间】:2018-01-29 13:08:33
【问题描述】:
我升级了我在 Heroku 上的计划,以便能够使用 Heroku SSL,其中包括自动证书管理 (ACM)。
因此,当我运行 heroku certs:info 时,我得到:
Certificate details:
Common Name(s): www.myapp.fr
Expires At: 2018-04-29 10:10 UTC
Issuer: /C=US/O=Let's Encrypt/CN=Let's Encrypt Authority X3
Starts At: 2018-01-29 10:10 UTC
Subject: /CN=www.myapp.fr
SSL certificate is verified by a root authority.
或heroku certs:
Name Common Name(s) Expires Trusted Type
────────────────── ──────────────── ──────────────────── ─────── ────
tyrannosaurs-12099 www.myapp.fr 2018-04-29 10:10 UTC True ACM
但是,我的应用程序仍然显示为不安全(没有 https),当我运行 curl -kvI https://www.myapp.fr 时,我得到的结果如下:
[2.3.4]
* Rebuilt URL to: https://www.myapp.fr/
* Trying 79.125.111.38...
* Connected to www.myapp.fr (79.125.111.38) port 443 (#0)
* Unknown SSL protocol error in connection to www.myapp.fr:-9838
* Closing connection 0
curl: (35) Unknown SSL protocol error in connection to www.myapp.fr:-9838
关于如何让我的 HTTPS 正常工作的任何想法?
【问题讨论】:
标签: ruby-on-rails ssl curl heroku ruby-on-rails-5