Skip to main content

Python Own Certificate Authority

Project description

Python Own Certificate Authority (ownca)

ownca make easy to handle a Certificate Authority (CA) and manage certificates for hosts or clients.

A high level usage is

>>> from ownca import CertificateAuthority
>>> ca = CertificateAuthority(ca_storage='/opt/CA', common_name='Corp CA')
>>> mycorp = ca.issue_certificate('mycorp', dns_names=['mycorp.com', 'tls.mycorp.com')

Basically in this three steps we did:

  1. Imported the ownca Certificate Authority
  2. Created a new CA name of Corp CA that uses /opt/CA as storage for CA certificates, keys and files.
  3. We created signed certificates by Corp CA for server mycorp, the server files are also stored in /opt/CA/certs/mycorp.

More detailed usage can be found in http://ownca.readthedocs.org

Installation

pip install ownca

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

ownca-0.0.1a4.tar.gz (20.3 kB view hashes)

Uploaded Source

Built Distribution

ownca-0.0.1a4-py2.py3-none-any.whl (10.2 kB view hashes)

Uploaded Python 2 Python 3

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