尝试设置 SSL 以在 mydomain.com 上工作。在 Heroku 文档之后,我设法让 SSL 在https://secure.mydomain.com上运行。然而,当我添加 SSL 时由 heroku 创建的实际端点仍然在说
**Heroku | No such app**
There is no app configured at that hostname.
Perhaps the app owner has renamed it, or you mistyped the URL.
对于如何让tokyo-2121.herokussl.com指向我在 Heroku 上的实际应用程序,我有点困惑。
emet:myapp vezu$ heroku certs
Endpoint Common Name(s) Expires Trusted
------------------------ --------------------- ------------------------ -------
tokyo-2121.herokussl.com secure.mydomain.com 2013-09-09 12:28:05 CEST True
然后
emet:myapp vezu$ heroku certs:info
Fetching information on SSL endpoint tokyo-2121.herokussl.com... done
Certificate details:
subject: /serialNumber=htilpsjjgrrlhyVZ8rbeandz78555bgpWx/FDEVd/OU=GT166968518/OU=See www.rapidssl.com/resources/cps (c)12/OU=Domain Control Validated - RapidSSL(R)/CN=secure.mydomain.com
start date: 2012-09-06 12:38:54 CEST
expire date: 2013-09-09 12:28:05 CEST
common name(s): secure.mydomain.com
issuer: /serialNumber=htilpsjjgrrlhyVZ8rbeandz78555bgpWx/FDEVd/OU=GT166968518/OU=See www.rapidssl.com/resources/cps (c)12/OU=Domain Control Validated - RapidSSL(R)/CN=secure.mydomain.com
SSL certificate is verified by a root authority.
我假设这意味着我已经正确安装了 SSL。我的 dnsimple 配置看起来像这样
Type Name TTL Points to
ALIAS mydomain.com 3600 proxy.herokuapp.com
CNAME secure.mydomain.com 600 tokyo-2121.herokussl.com
CNAME www.mydomain.com 3600 proxy.herokuapp.com
MX mydomain.com 600 mx00.1and1.co.uk (P:10)
MX mydomain.com 600 mx01.1and1.co.uk (P:20)
如何让端点tokyo-2121.herokussl.com链接到我的应用程序?我应该在我的应用程序的任何地方添加它吗?