skillfed

django-sslserver

An SSL-enabled development server for Django

django-sslserver v0.22 429.8K downloads/30d#6,737 on PyPI742
Permissive license MIT DORMANT released

What it is and what it does

Django SSL Server is a development-only tool that adds an HTTPS-capable management command to Django, letting you test SSL-dependent features locally without setting up a real web server. It ships with a self-signed certificate and can also use custom certificates from a certificate authority. The server runs on localhost and supports IPv6.

This is explicitly not for production use—it is a convenience wrapper around Django's development server that adds SSL support. It solves the narrow problem of needing to develop and test features that require HTTPS (such as secure cookies or mixed-content policies) without the overhead of configuring Apache or NGINX locally.

Use it for:

  • Test HTTPS-only features (secure cookies, HSTS headers) during local development without production infrastructure.
  • Verify SSL certificate handling and browser trust behavior before deploying to production.
  • Debug mixed-content warnings and HTTPS redirect logic in a local environment.
  • Develop integrations with third-party services that require HTTPS callbacks to your app.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides an SSL-enabled development server for Django that runs HTTPS locally without requiring a production web server.

Yes, if you need to test HTTPS locally and are using a Django version compatible with the package's last release (2019-12-10). No, if you are using modern Django versions (3.2+) or Python 3.8+, as the package is dormant and likely incompatible. Check your Django version against the classifiers first.

Install

django-sslserver on PyPI

pip

pip install django-sslserver

uv

uv add django-sslserver

poetry

poetry add django-sslserver

Installing django-sslserver

Before you install

Low install friction with a single runtime dependency on Django. Maintenance is dormant—last release was 2019-12-10 and no commits since 2024-06-01—so expect no active bug fixes or compatibility updates for newer Django versions.

License in practice

MIT license is permissive; you can use this freely in commercial and private projects with minimal restrictions.

Quickstart

pip install django-sslserver

# Add to INSTALLED_APPS in settings.py:
INSTALLED_APPS = (
    ...
    "sslserver",
)

# Run:
python manage.py runsslserver

Requires Django to be installed and a Django project with manage.py already set up.

Verify before relying

  • Whether the package works reliably with Django versions released after 2019 (classifiers list only up to Django 2.2).
  • Whether self-signed certificate generation still works on modern Python/OpenSSL versions.

Package facts

License MIT (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies 1 — Django
Maintenance dormant — 2,439 days since the last release
Last repo commit
First released
Downloads 429,810/month — #6,737 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: django_sslserver-0.22-py3-none-any.whl

Environment :: Web EnvironmentFramework :: DjangoFramework :: Django :: 1.10Framework :: Django :: 1.11Framework :: Django :: 1.8Framework :: Django :: 1.9Framework :: Django :: 2.0Framework :: Django :: 2.1Framework :: Django :: 2.2License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7

Tags

django https development serverlocal ssl testing djangodjango ssl developmenthttps localhost djangodjango runsslserverself-signed certificate django dev
django-dev-toolsssl-testing

More Testing packages