django-x509: a reusable django app to manage x509 certificates

23rd September 2016 in Coding Tags: cryptography, django, open-source, openwisp, python

Latelly I came across the need of a django app to manage Certification Authorities and x509 Certificates in order to implement automatic management of VPN client certificates for the new OpenWISP2 (which is based on python and django).

At first I've looked at existing solutions, but I didn't find an app that was simple to integrate in a large project, that would let users manage CAs via the django-admin and that was compatible with django 1.10.

For the previous reasons I wrote django-x509, which implements a basic features of a Public Key Infrastructure.

The main features of django-x509 are:
  • create, edit and delete Certification Authorities
  • import existing Certification Authorities
  • create, edit and delete end entity x509 certificates
  • import existing end entity x509 certificates
  • revocation of end entity certificate
  • CRL view for each Certification Authority (which can be public or protected)
  • possibility to specify x509 extensions on each certificate

All these features of django-x509 can be used via the django-admin.

The app is intentionally simple, it implements only the most basic features needed to easily generate Certification Authorities and x509 certificates, but I hope it will improve over time and be helpful to other projects or organizations that share a similar need.

Retweet

Comments

Leave your comment

Categories

Let's be social

Popular posts

Latest Comments

  1. Great news Aymará! Very happy to know this post has inspired you to experiment :-)

    By Federico Capoano in First DjangoGirls Rome wrap-up & afterthoughts

  2. Hi!! I'm a Django Girls coach too. Here, in Argentina, made just what you suggested, splited the workshop in two days. The experiment went just great! Most of the girls achieved to publish the blog from ground 0. It feels great to be helpfull ...

    By Aymará in First DjangoGirls Rome wrap-up & afterthoughts

  3. Send any question to the interop-dev mailing list or open an issue on github.

    By Federico in Network Topology Visualizer: django-netjsongraph

  4. I have a question about Network Topology Collector, can you brief me pls?

    By Nasrin Akter in Network Topology Visualizer: django-netjsongraph

  5. Thanks !

    By Alois in How to speed up tests with Django and PostgreSQL

Popular Tags

battlemesh censorship creativity criptography django event fosdem google-summer-of-code ibiza inspiration javascript jquery linux nemesisdesign netjson ninux nodeshot open-source openwisp openwrt performance photo programming python security staticgenerator talk upload wifi wireless-community