I would like my site to be on https://
I read up on stuff and followed instructions such as adding the following in settings.py:
SESSION_COOKIE_SECURE = True
CSRF_COOKIE_SECURE = True
SECURE_SSL_REDIRECT = True
but it doesnt seem to work
when i put, https:// in front of my site address, i get an error:
SSL Not Enabled
This site is not enabled for SSL. Please follow this link to visit the site without SSL.
- how do i redirect all http requests to https://
- with ssl, do i need to buy ssl certificate from commerical? If so, what do i do with those keys to have my django site use it?