Skip to main content

Manage TLS certificates and keys in the Django admin

Reason this release was yanked:

Accidentally published an in-development version

Project description

1 django-simple-certmanager

Version:

2.1.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

  • Generate Certificate Signing Requests (CSR) and private keys

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

Uploaded Source

Built Distribution

django_simple_certmanager-2.1.0-py3-none-any.whl (25.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for django_simple_certmanager-2.1.0.tar.gz
Algorithm Hash digest
SHA256 6d5e4b92ae8a8de3873f736c21328bd9901aabb77b4b1cbe37b0bed9ecd23a8a
MD5 a2c3c188c566f27ae4134cd89e30add4
BLAKE2b-256 edf08c48d401995c55779fad43814cea8fa9960c8ff700dc125d3618e75b484d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_simple_certmanager-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4848edffb96b46a02ef48a7dbc5bf8671348014c0fac0db74bf0cacfc3dfb1ef
MD5 b2ce8efadd0f9ee34aed74ee44464b46
BLAKE2b-256 0e42e1e024d5b41eb238256fba5ee2f0faeac00aa2df978ca5fc8a464b045597

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