Python Own Certificate Authority
Project description
Python Own Certificate Authority (ownca)
OwnCA makes easy handle Certificate Authority (CA) and manage certificates for hosts, servers or clients.
An example of high level usage:
>>> from ownca import CertificateAuthority
>>> ca = CertificateAuthority(ca_storage='/opt/CA', common_name='MyCorp CA')
>>> example_com = ca.issue_certificate('www.example.com', dns_names=['www.example.com', 'w3.example.com')
Basically in this three lines steps:
-
Imported the ownca Certificate Authority library
-
Created a new CA named as Corp CA that uses
/opt/CA
as CA storage for certificates, keys etc. -
Create a signed certificates by Corp CA server www.mycorp.com, the files are also stored in
/opt/CA/certs/www.example.com
.>>> example_com.cert <Certificate(subject=<Name(CN=www.example.com)>, ...)>
More detailed usage can be found in http://ownca.readthedocs.org
Installation
pip install ownca
Documentation
Project details
Release history Release notifications | RSS feed
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.1.1.tar.gz
(32.3 kB
view hashes)