Connection is not private using Google Domains and Heroku -


i have domain purchased google , heroku app i'm trying send to.

i've done steps in article: https://www.justinvrooman.com/articles/how-to-use-heroku-with-google-domains

and yet when try access site a

your connection not private

attackers might trying steal information www.***.com (for example, passwords, messages, or credit cards). net::err_cert_common_name_invalid

what doing wrong set or why getting message?

it looks you've enabled ssl in rails app site doesn't have ssl certificate configured. disable ssl, set following "false" in 'config/environments/production.rb' file.

config.force_ssl = false 

in addition, in same file, don't forget set "host" equal custom domain.

host = 'www.yourdomain.com' 

if want run ssl on custom domain (e.g. www.example.com) you'll need purchase , configure ssl certificate domain.

if, however, fine using heroku's domain (e.g. example.herokuapp.com), can piggyback on heroku's ssl certificate.

more info on running ssl on custom domain through heroku: https://devcenter.heroku.com/articles/ssl-endpoint


Comments

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -