Skip to main content

Manage TLS certificates and keys in the Django admin

Project description

1 django-simple-certmanager

Version:

2.2.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.2.0.tar.gz (23.4 kB view details)

Uploaded Source

Built Distribution

django_simple_certmanager-2.2.0-py3-none-any.whl (24.4 kB view details)

Uploaded Python 3

File details

Details for the file django_simple_certmanager-2.2.0.tar.gz.

File metadata

File hashes

Hashes for django_simple_certmanager-2.2.0.tar.gz
Algorithm Hash digest
SHA256 9718ee83016c6413de8aa9433bbf04a3eee70165399a9a0bc837002dd8d9ff14
MD5 07efea56a4c6fd287cf4112f4d0520c5
BLAKE2b-256 7b024221f1b88ff376a538df1735cc07ebc20aa3aaa221dea3165fe7f487b9ff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_simple_certmanager-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a1876ab7a4a02eb3d123aad2eb9d87fca2e7c24047cb36367b26ca058c00fb86
MD5 f0ecadd91bc32df5005b17008561da22
BLAKE2b-256 49dc417fffc15b0628b5ec4146db1b1f6b6e71d40419f40d0e2137ea41d799cd

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