【发布时间】:2014-05-26 03:21:08
【问题描述】:
我有一个 UCC SSL 证书,最多可容纳 10 个域名,当我使用该证书浏览页面时,我收到 ERR_CONNECTION_REFUSED 错误。
这是我所做的:
- 购买了UCC证书
- 创建了 Heroku SSL 端点
- 上传证书:
heroku certs:add server.crt server.key - 检查了证书:
heroku certs:info
信息返回:
Fetching SSL Endpoint blah-1234.herokussl.com info for app-name... done
Certificate details:
Common Name(s):domain.com
www.domain.com
others......
Expires At: 2015-05-25 23:48 UTC
Issuer: /OU=Domain Control Validated/CN=www.domain.com
Starts At: 2014-05-25 23:48 UTC
Subject: /OU=Domain Control Validated/CN=www.domain.com
SSL certificate is verified by a root authority.
heroku certs
给:
Endpoint Common Name(s) Expires Trusted
------------------------ ------------------------------------------------------------------------------------------- -------------------- -------
blah-1234.herokussl.com www.domain.com, domain.com, .......... 2015-05-25 23:48 UTC True
- 将域更新为指向 blah-1234.herokussl.com
C名称:
www blah-1234.herokussl.com TTL1hr
- 等待的 TTL
- 运行 curl 测试:
curl -kvI https://www.domain.com
回复:
* About to connect() to www.domain.com port 443 (#0)
* Trying 50.19.XXX.XXX...
* Connection refused
* Trying 54.204.XXX.XXX...
* Connection refused
* Trying 23.21.XXX.XXX...
* Connection refused
* couldn't connect to host
* Closing connection #0
curl: (7) couldn't connect to host
http url 工作正常。
知道为什么会这样吗?这是因为我使用的是 UCC 证书吗?
【问题讨论】:
标签: ssl heroku ssl-certificate