自定义域证书错误•服务器证书(heroku)与URL www.app.com不匹配

Jaq*_*aqx 2 security dns ruby-on-rails certificate heroku

我使用heroku创建了一个Web应用程序,并根据此处的说明设置了自定义域:https://devcenter.heroku.com/articles/custom-domains

现在在Chrome中,我的Https被划掉了,它说:

The identity of this website has not been verified 
• Server's certificate does not match the URL.

You attempted to reach www.app.com, but instead you actually reached a server
identifying itself as *.herokuapp.com. This may be caused by a misconfiguration
on the server. Cannot verify that that is the same site as www.app.com 
Run Code Online (Sandbox Code Playgroud)

我不认为我错过了一步.我是否必须使用heroku证书续订证书?还是我自己签了?或者是什么?谢谢!

fri*_*ism 5

如果您也想在自定义域上使用SSL,则还必须遵循SSL指南.