简体   繁体   中英

Custom domain certificate error • Server's certificate (heroku) does not match the URL www.app.com

I made a web app using heroku and I set up the custom domain as per there instructions here: https://devcenter.heroku.com/articles/custom-domains

Now in chrome my Https is crossed out and it says:

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 

I don't think I missed a step. Do I have to renew a certificate using heroku certs? or self sign my own? or what? thanks!

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

ssl certs are to specific domains. m.yourdomain.com will not accept the cert from yourdomain.com.

Sounds like your problem. You could get a wildcard cert, so *yourdomain.com, although, those are costly!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM