Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

cname redirect causing phishing warning in heroku

I changed my CNAME Records as outlined in this link https://devcenter.heroku.com/articles/custom-domains. The redirect itself works, the issue is in Chrome (and I assume other browsers) It gives me a phishing alert.

This is probably not the site you are looking for!

You attempted to reach app.grewpr.com, but instead you actually reached a server i identifying itself as *.herokuapp.com. This may be caused by a misconfiguration on the server or by something more serious. An attacker on your network could be trying to get you to visit a fake (and potentially harmful) version of app.grewpr.com.

You should not proceed, especially if you have never seen this warning before for this site.

How would I fix this error? It also puts a red line through the https lock.

like image 830
rockyroadster555 Avatar asked Oct 06 '22 18:10

rockyroadster555


2 Answers

Since you're using HTTPS, you should follow slightly different DNS configuration instructions: https://devcenter.heroku.com/articles/ssl#configuredns

like image 79
georgebrock Avatar answered Oct 16 '22 23:10

georgebrock


Had the same problem. Your custom domain app uses your host certificate. Whether buy SSL addon or if 'http' is ok for you then change ssl settings for your app. In "environments/production.rb" there must be following configuration "config.force_ssl = false" which by default is set to true. Had to reset Firefox to take effect. Other browsers were ok.

like image 36
Renars Sirotins Avatar answered Oct 16 '22 23:10

Renars Sirotins