openwisp / openwisp/openwisp-controller

[feature] Notify expiration of certs and auto-renew functionality

Open
#1,198 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
773
Forks
315
Avg merge
2d 16h
Merged PRs (30d)
14

Description

Depends on https://github.com/openwisp/django-x509/issues/202, the goal of this issue is to override the base functionality in django-x509 which allows to notify admins and managers using the OpenWISP Notifications module, we need to disconnect the default signal receiver and supply a signal receiver which sends a notification using the notification module.

We will need to register the new notification type (we could use generic_message but it doesn't send emails so it's not great for this).

Admin & REST API

We will also need to double check the auto-renew functionality works and it's possible to set this both in the admin and REST API.

Docs

We also need to update the docs:

  • mention these features in the feature list intro
  • lists the settings in the settings page
  • list django signals inherited from django-x509
  • add a dedicated page "X509 Cert Renewal"
    • auto-renew feature for:
      • Certs
      • CAs
    • notifications for expiring and expired/auto-renewed certs

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the dependency on django-x509 issue 202 and the existing certificate signal and notification integrations. Check the Admin and REST API auto-renew paths, then the feature-list intro and settings documentation. Done means custom expiration and renewal notifications, a registered notification type, working Admin and REST API configuration, and the requested X509 Cert Renewal documentation.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
api, backend, documentation, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.