Skip to main content

Certificate authority for humans

Project description

A tool for managing the signing and generation of CSRs as well as the creation of certificate Authorities

Features

  • Its not the openssl command

  • Sane flags

  • Its not the openssl command

  • internal API to leverage in your own apps

  • Its not the openssl command

  • Single File Certificate store based off sqlite makes backups easy

  • Human readable times that become more accurate as the appointed time gets closer eg ‘3 days from now’ to ‘3 hours from now’ to ‘03:14’

  • Ability to add comments to certificates, keys and requests

  • Generate CRLs’

  • Webserver to provision new certificates to bearers of a valid (but soon to expire) certificate allowing automatic update of certificates via a cronjob

Installation

To create a virtual environment use the following commands

pyvenv-3.4 –system-site-packages venv . bin/venv/activate pip install blitz-ca

to activate the environment in another terminal repeat the activate step as shown below

. bin/venv/activate

as this is an argparse based program, comprehensive help is available by specifying ‘-h’ or ‘–help’ to receive help on a sub command, use ‘-h’ as above after the sub command itself

At this time there is no other documentation avalible but those who have created certificates and CSRs with the openssl command should be fammilar enough with the terminolgy and process to use the program.

Examples

Creating a self signed certificate

blitz-ca cert new www.pocketnix.org

Creating a certificate with a Subject Alternative Name

blitz-ca cert new www.pocketnix.org pocketnix.org

To specify values such as the Email address, locality or country to embed in the cert you can use the form ‘shortname=value’ or ‘longname=value’ and add it on the end. These values are case sensitive and in the case of the long hand versions are camelCase

blitz-ca cert new www.pocketnix.org “locality=The Moon” emailAddress=operations@moonbase.pocketnix.org

Alternatively, to be prompted for the values of most of the commonly used or expected fields add the ‘-p’ flag

blitz-ca cert new -p www.pocketnix.org

The alternate Subject alt names are also supported allowing you to issue a mail signing certificate for multiple email addresses

blitz-ca cert new pocketnix.org emailAddress=myemail@pocketnix.org email:anotheremail@pocketnix.org

What Works

  • Key Generation

  • Cert Generation

  • Request Generation

  • Request Signing

  • Arbitrary x509 extensions

  • Subject alternative names

  • Key usage

  • RSA and DSA keys of arbitrary bit length

What does not Work

  • Tracking of issued certs

  • CRL Generation

  • Auto Enrolment webserver

  • Confirmation before signing a request

  • Elliptic Curve keys

Notes

  • If you do not specify a key then one will be created for you automaticly as

    part of the CSR or certificate generation. if you are having trouble matching a CSR up to a private key at generation time, consider using the ‘-C’ flag to add a comment to both the private key and CSR

  • Signing a request will copy extensions from the request into the certificate however there is currently no way to audit the request before signing and approve extensions

  • Certificates are backdated by 1 hour to help prevent issues with clients/servers with clock drift (if you have 1 hour of clock drift you ahve bigger issues but daylight savigns may cause issues)

Release History

0.1.1 (2014-11-05)

  • Re-release to fix upload

0.1 (2014-11-05)

  • Initial Release

  • Key generation

  • Cert generation

  • Request generation

  • Request signing

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

blitz-ca-0.1.1.zip (19.0 kB view details)

Uploaded Source

blitz-ca-0.1.1.tar.bz2 (12.3 kB view details)

Uploaded Source

Built Distribution

blitz_ca-0.1.1-py2.py3-none-any.whl (16.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file blitz-ca-0.1.1.zip.

File metadata

  • Download URL: blitz-ca-0.1.1.zip
  • Upload date:
  • Size: 19.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for blitz-ca-0.1.1.zip
Algorithm Hash digest
SHA256 1adf7521dd8073871c4c1d1c3b99c34830f29c714bbe7693d70a2b008e568346
MD5 d17f019ce68df966cdc98f205bb54fc9
BLAKE2b-256 cb5ad5bd0e01b7ef11185773d25259394eba9b0cb6db78d762da475d6375a33f

See more details on using hashes here.

File details

Details for the file blitz-ca-0.1.1.tar.bz2.

File metadata

  • Download URL: blitz-ca-0.1.1.tar.bz2
  • Upload date:
  • Size: 12.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for blitz-ca-0.1.1.tar.bz2
Algorithm Hash digest
SHA256 b8fabece258be07e04561e9e04e4081bffe6aa7fb4c268f207a7bc5c2fc84f7f
MD5 a19e9a6e0065ad13f23b9449b89aefac
BLAKE2b-256 7ca045ad13d0752eb5d86853a52809b3fd65dd87f72328ceac219e79f57b17c2

See more details on using hashes here.

File details

Details for the file blitz_ca-0.1.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for blitz_ca-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 085d31c5a6ad01174349d58f95d4e04c1fd98e2342c587f691c4c171ca5f939a
MD5 60c2fd5158fd177c658e3db4c7fd3296
BLAKE2b-256 ae212214f32a5901eac12a17a8c58577da8ec24bcb08308e162deddd979594da

See more details on using hashes here.

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