托管应用程序直到昨天才开始工作,但今天突然无法工作。
我做了什么?
使用Cloudfront -使用我的域的自定义SSL证书设置从Amazon的边缘位置托管我的网站。
Amazon证书管理器-获得HTTPS证书
在S3中承载我的客户端应用程序。他们想使用域名访问他们的网站。为此,我提供了以下两项记录。
Type Host Value TTL
A @ IP of the client domain 600
CNAME www CloudFront distribution UR
我正在与移动网站的工作,我想这个网站使用https,所以我有2个域名这里:
www.youbeli.com (Main site)
m.youbeli.com (Mobile site)
然后我用https设置了m.youbeli.com,当我用我的手机(安卓)浏览时,我发现错误弹出
Security Warning
There are problems with the security certificate for this site
当我查看证书时(下面是信息),:
Issued to :
Common name:
www.youbeli.com
Organisational Un
我正试图通过Heroku获得我的应用程序的SSL认证,但是在这两个域名中的一个都失败了。
我在2017年3月之前创建了dyno,所以我不得不运行heroku certs:auto:enable,正如所解释的那样。
然后,heroku domains返回:
Domain Name DNS Record Type DNS Target
─────────────── ─────────────── ─────────────────────────────
example.com ALIAS or ANAME example.com.herokudn