Skip to main content

Manage TLS certificates and keys in the Django admin

Project description

1 django-simple-certmanager

Version:

2.4.1

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.4.1.tar.gz (31.7 kB view details)

Uploaded Source

Built Distribution

django_simple_certmanager-2.4.1-py3-none-any.whl (32.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for django_simple_certmanager-2.4.1.tar.gz
Algorithm Hash digest
SHA256 940c338eccff9607273afeee7d6a0204a3d9ae015b54226a0903b19d43821b12
MD5 2219d4a18e4d3ae9396f5881937b577b
BLAKE2b-256 d07bcbd069efa54a30fd89a210cb377394c968dfc5b12a194aa4d2a2be76a10c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_simple_certmanager-2.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fa5ceca8e48da89843bab738fe1a4f24de2fa89ce2ad6b9aec6e459eace9202a
MD5 f2481b73f8a39b9ba1dcd032ecd832a7
BLAKE2b-256 5e19f27e225e32d3121431676200c315fe61422599c7250b9ed11be7ff8f7e50

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