User Tools

Site Tools


PKI application

This simple application provides Public Key Infrastructure support for the management network. Allowing clients to authenticate the server via X.509 certificates, i.e. nodes consulting the API.

It also provides support for generating Certificate Sign Requests and processing them.

from pki import ca, Bob
# Create a new key
bob = Bob()
key = bob.gen_key()
# Create CSR
bob = Bob(key=key)
scr = bob.create_request(, CN=addr)
# Process CSR
cert = ca.sign_request(scr)
soft/server-apps-pki.txt · Last modified: 2014/02/03 13:50 by santiago