Forums

"Connection is not Private"

Hello,

in these days I've add some edits to my website. I also looked at the HTTPS protocol, then I decided to postponing the adding of the https. Btw I forgot in the settings file some variable that django system uses for the ssl, for example:

SECURE_SSL_REDIRECT

and similar. When I've uploaded the edits on the server and went to the my web site, the error "Connection is not private" appeared the barred red https. So I immediatly removed those variable from te settings file and uploaded files again. but the problem persists.

The point is that now actually I don't want https on my site. How can I remove this error?

The error that the browser gives is

Certificate Error There are issues with the site's certificate chain (net::ERR_CERT_COMMON_NAME_INVALID).

If you don't use an https URL, then you won't get those errors.

hi glenn, yes I know. The problem is the automatic redirect to https. so, you write the site address in the bar, without http, it automatically go to https://url...

How to avoid the automatic redirect?

Your browser has probably cached that the site should be https. Try clearing your browser cache.

nope, I tried with different browsers and devices. Same result

Did you restart your webapp after changing the settings.py?

Ok after some days it seems go properly. Thank you guys.

How odd! Well, I'm glad it stopped after a while. Let us know if it happens again.

of course! Thank you again for the support :)