Skip to main content

Python Own Certificate Authority

Project description

Python OwnCA

Python OwnCA allows you to handle a Certificate Authority (CA), using existent keys and certificates or generate a new set of certificate for your CA.

Python OwnCA also issues certificates for hosts, also the possibility to revoke existent certificates is possible.

Installation

pip install ownca

>> from ownca import CertificateAuthority
>> 
>> ca = CertificateAuthority(ownca_home="/etc/ssl/CA", ca="My Own CA")
>> ca_certificate = ca.get_ca_certificate()
>> myserver = ca.generate_host_certificate("myserver", dns_names=["myserver.com", "ssl.myserver.com"]
>> myserver.get_key()
>> myserver.get_certificates()

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.1a1.tar.gz (19.0 kB view hashes)

Uploaded Source

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