Skip to main content

Manage TLS certificates and keys in the Django admin

Project description

1 django-simple-certmanager

Version:

2.0.0

Source:

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

Keywords:

certificates

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.10 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-2.0.0.tar.gz (19.4 kB view details)

Uploaded Source

Built Distribution

django_simple_certmanager-2.0.0-py3-none-any.whl (19.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for django-simple-certmanager-2.0.0.tar.gz
Algorithm Hash digest
SHA256 cf56f1f71602671792d29aa51ac8147dd89665e4eac050b73490be8881bae53a
MD5 d38d1f6da805ccd8edc1d3717bbf90f2
BLAKE2b-256 6b9a34710617db493807e9054f1e8f5f2e691acb32050364d909f9922b627ccd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_simple_certmanager-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e8433baa7299d193ce0b14126a525686d9f458b6e46f9a59ba99399ca81f9997
MD5 e694e176d336b3376b13c4e55fbafd00
BLAKE2b-256 c9e02ba740d5c1fa1b468cd951de2f45ce10830ba96db8a6d5a5c10ebe1df423

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