Version: | 2.4.1 |
---|---|
Source: | https://github.com/maykinmedia/django-simple-certmanager |
Keywords: | certificates |
Manage TLS certificates and keys in the Django admin
- Manage (mutual) TLS certificates
- Certificate introspection and validation
- Certificate/key files stored in private media
- Certificate/key files deleted when the database record is deleted
- Python 3.10 or above
- Django 3.2 or newer
You can install Django Simple Certmanager either via the Python Package Index (PyPI) or from source.
To install using pip
:
pip install django-simple-certmanager
To use this with your project you need to follow these steps:
Add Django Simple Certmanager to
INSTALLED_APPS
in your Django project'ssettings.py
:INSTALLED_APPS = ( # ..., "privates", # Needed for admin usage. "simple_certmanager" )
Make sure you configure Django Privates correctly and set the (currently) undocumented settings:
PRIVATE_MEDIA_ROOT = os.path.join(BASE_DIR, "private-media") PRIVATE_MEDIA_URL = "/private-media/"
Run the migrations
python manage.py migrate