Answer the question
In order to leave comments, you need to log in
How to remove an insecure connection when entering the site?
Hello.
There is a domain, DNS hosting on RU CENTER and a site on heroku.
I'm trying to set up domain login, but when I try to login to the site, it says that the connection is not secure, but if I ignore the message, everything works fine. How can I solve this problem (so that the message does not come out at the entrance)?
dns records on ru center:
@ | A | 174.129.25.170 <- (wwwizer.com ip)
www | CNAME | example.herokudns.com. (dot at the end)
heroku has an ssl certificate (ACM)
heroku domain:
Domain Name: www.example.ru | DNS-target: cubic-h... | ACM Status: Ok
For redirect I use wwwizer.com (from example.ru to www.example.ru ).
The site is written in django
I would be very grateful for any help.
Answer the question
In order to leave comments, you need to log in
You need HTTPS (SSL)! Upload an SSL with a letsencrypt certificate to the heroku, and from this connection proxy to your application's port. Read here https://devcenter.heroku.com/articles/ssl
Only it seems that they have it available on paid rates.
You need to install SSL certificates. Swears due to the fact that the site is on HTTP, not HTTPS
If the SSL certificate is worth it, then there are two options:
Look at the protocol in the link that the browser swears at
If http, then you need to set a redirect from hhtp to https
If https, then check the network, and check if your site has mixed content, i.e. inside the site there are http links through an insecure connection.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question