Skip to main content

Manage TLS certificates and keys in the Django admin

Project description

1 django-simple-certmanager

Version:

2.4.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.4.0.tar.gz (31.6 kB view details)

Uploaded Source

Built Distribution

django_simple_certmanager-2.4.0-py3-none-any.whl (32.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for django_simple_certmanager-2.4.0.tar.gz
Algorithm Hash digest
SHA256 48efa7a8f863c64594eafc559289b6f9019c5800795140899128d26ac0b8b217
MD5 4eb73c588827238aa5c08a94c3df2a35
BLAKE2b-256 0c1eceb010507bbc4736acd57b879254cc223400933c15d1aef378c251612643

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_simple_certmanager-2.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2b05305f79d3075cb261dcd92d314ff3fd8f29343fb8f77a93c7ac7dface3dd0
MD5 678c094c7d28afa3f615cf59abd38505
BLAKE2b-256 cd0fd3da545bf46f46adcfd1634ae85759ffce25cc51e2962adf8a214499de0c

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