django-sslserver
An SSL-enabled development server for Django
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-sslserveruv
uv add django-sslserverpoetry
poetry add django-sslserverInstalling 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
Tags
More Testing packages
Pluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
virtualenvvirtualenv creates isolated Python environments…
permissive · top 100 on PyPI
coverageCoverage.py measures which lines of Python code…
permissive · top 1,000 on PyPI
pytest-asynciopytest-asyncio is a pytest plugin that enables…
permissive · top 1,000 on PyPI
pytest-json-ctrfA pytest plugin that generates test reports in…
permissive · top 1,000 on PyPI
certifiCertifi provides Mozilla's curated collection…
copyleft · top 100 on PyPI
trustmetrustme generates fake TLS certificates and…
permissive · top 5,000 on PyPI
requests-pkcs12Adds PKCS#12 certificate support to the…
permissive · top 5,000 on PyPI
django-browser-reloadAutomatically reloads your browser when you…
permissive · top 15,000 on PyPI
python-certifi-win32Patches certifi at runtime to include…
permissive · top 15,000 on PyPI
sslyzeSSLyze is a fast SSL/TLS scanning tool and…
agpl · top 15,000 on PyPI
djangorestframeworkBuilds web APIs on top of Django with…
permissive · top 1,000 on PyPI
wassimaWassima provides access to your operating…
permissive · top 5,000 on PyPI
pip-system-certsAutomatically configures Python to use the…
permissive · top 5,000 on PyPI