Skip to main content

Manage TLS certificates and keys in the Django admin

Project description

1 django-simple-certmanager

Version:

1.4.0

Source:

https://github.com/maykinmedia/django-simple-certmanager

Keywords:

certificates

PythonVersion:

3.9

Build status Code quality checks black Coverage status Documentation Status

python-versions django-versions pypi-version

Manage TLS certificates and keys in the Django admin

2 Features

  • 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

3 Installation

3.1 Requirements

  • Python 3.7 or above

  • setuptools 30.3.0 or above

  • Django 3.2 or newer

3.2 Install

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

4 Usage

To use this with your project you need to follow these steps:

  1. Add Django Simple Certmanager to INSTALLED_APPS in your Django project’s settings.py:

    INSTALLED_APPS = (
        # ...,
        "privates",  # Needed for admin usage.
        "simple_certmanager"
    )
  2. 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/"
  3. Run the migrations

python manage.py migrate

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-simple-certmanager-1.4.0.tar.gz (14.3 kB view details)

Uploaded Source

Built Distribution

django_simple_certmanager-1.4.0-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

Details for the file django-simple-certmanager-1.4.0.tar.gz.

File metadata

File hashes

Hashes for django-simple-certmanager-1.4.0.tar.gz
Algorithm Hash digest
SHA256 288dc883fe34ecb8a7b78b746cbf22cb36276116182d0a7f2dd2be29ed5f77f3
MD5 43ce930162f5ff4c915284a89462bb03
BLAKE2b-256 1ba874e00d0190a75b45a84a41f11430a6bef5a3cf0515b495cf72e4187063e6

See more details on using hashes here.

File details

Details for the file django_simple_certmanager-1.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_simple_certmanager-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 50c77c100dfcdbdfd9da337a50302a59eb2a84d53873e9883fcd6c810e70a3d2
MD5 97c9300d0e065e30d4c2aaa0e4a6741b
BLAKE2b-256 7379c675863aa002740fbdcb8f1593b3c0a17e168b8379fbf90e16c556101eaf

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page