Jaqx
Jaqx

Reputation: 826

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!

Upvotes: 2

Views: 1987

Answers (2)

jahrichie
jahrichie

Reputation: 1235

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!

Upvotes: 0

friism
friism

Reputation: 19279

If you want SSL on your custom domain too, you have to follow the SSL guide also.

Upvotes: 5

Related Questions