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

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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for django_simple_certmanager-2.0.1.tar.gz
Algorithm Hash digest
SHA256 d69a3db4a2325f28de2a9a7df091f151c5c0d5b483adc09daced66e964262ebe
MD5 acab391a3d5203ff311dfc072978f45f
BLAKE2b-256 6cad5c5955182cf5612554f051d57d6be462820246964813f2fddeafea63a2b0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_simple_certmanager-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 127b5a643d3bc1e4b80c8863e0fc80861013e69364c4649b7221545cac4407c0
MD5 9fb279b45919b6d9966bbf8d30732a19
BLAKE2b-256 8439951a729a425079704949c6693f631eeb9eec44382a55fd1321c7f84224d4

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