Django SSL Server

0.22 · maintenance · verified Thu Apr 16

Django SSL Server is an SSL-enabled development server for the Django Framework, providing a `runsslserver` management command to serve projects over HTTPS during local development. It ships with a self-signed certificate for immediate use. The current version, 0.22, was released in December 2019. While primarily maintained by the community, recent pull requests indicate ongoing efforts to ensure compatibility with newer Django and Python versions. It is strictly intended for development and should never be used in production environments.

Common errors

Warnings

Install

Imports

Quickstart

To quickly get started, add 'sslserver' to your `INSTALLED_APPS` in `settings.py`. Then, from your project's root directory, run the `runsslserver` management command. Your Django application will then be accessible via HTTPS, typically at `https://127.0.0.1:8000/`.

# settings.py
INSTALLED_APPS = [
    # ... other apps
    'sslserver',
]

# Terminal
# navigate to your Django project root (where manage.py is located)
# Then run the development server with SSL:
# python manage.py runsslserver
# Access your app at https://127.0.0.1:8000/

view raw JSON →