How can I run my django application using HTTPS Protocol on the Local machine

I am trying to load my local site using the HTTPS protocol instead of the insecure http. I have used RunServerPlus extension package of the Django Extensions. I have installed the Django Extensions, the Werkzeug, and pyOpenSSL. When I load the runserver_plus --cert-file cert.crt, the does not load at all.

  • Could someone help me here please?

Here is the django-extensions installed

# ...

Here are the ALLOWED_HOSTS[]

ALLOWED_HOSTS = ['', 'localhost', '']

What error do you encounter when you run the command?

is the .crt file in the project directory?

Back to Top