Skip to main content

Python library to run your own private CA.

Project description

theca-sdk-python

Usage 1: Set environment variables

export DEVNULL_EMAIL="_your_registered_email"
export DEVNULL_ACCESS_KEY="_your_access_key_"
export DEVNULL_SECRET_KEY="_your_access_key_"

python3 -c 'from theca import create_cert; create_cert()'
ls -lt  $HOME/.devnull/certs/

Usage 2: Serve a credential file

cat ~/.devnull/credentials
[default]
email = ca-by-devnull@outlook.com
accesskey = _your_access_key_
secretkey = _your_secret_key_

python3 -c 'from theca import create_cert; create_cert()'
ls -lt  $HOME/.devnull/certs/

Trust your private CA -- todo

theca_add_ca --orgid 0c74e79c1014
theca_add_ca --email ca-by-devnull@outlook.com

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

theca-2.0.3.tar.gz (15.8 kB view hashes)

Uploaded Source

Built Distribution

theca-2.0.3-py3-none-any.whl (16.5 kB view hashes)

Uploaded 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