gwcert
Project description
gwcert
Tools for creating TLS certificates for use with, e.g. MQTT and RabbitMQ.
NOTE: these are temporary tools for non-production deployments. This library is more or less equivalent to a README containing OpenSSL commands, but less manual.
This library is a thin wrapper around ownca, which wraps pyca/cryptography, which wraps the OpenSSL C library. See also tls-gen, a repo from rabbitmq, which performs a similar task using a stack of make/python/OpenSSL CLI.
Features
- Create a local Certificate Authority directory with a self-signed certificate, via
gwcert ca create
. - Create named key pairs and sign them with the created CA with, via
gwcert ca add-key
.
Installation
You can install gwcert via pip from PyPI:
$ pip install gridworks-cert
Usage
Get help with any of:
gwcert
gwcert ca
gwcert ca create --help
gwcert ca add-key --help
Create a Certificate Authority directory with a self-signed certificate via:
gwcert ca create
Show information about the locally created ca with:
gwcert ca info
Add a named set of keys (public, private, certificate) via:
gwcert ca add-key
Please see the Command-line Reference for more details.
Contributing
Contributions are very welcome. To learn more, see the Contributor Guide.
License
Distributed under the terms of the MIT license, gwcert is free and open source software.
Issues
If you encounter any problems, please file an issue along with a detailed description.
Credits
This project was generated from @cjolowicz's Hypermodern Python Cookiecutter template.
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
Built Distribution
Hashes for gridworks_cert-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 167295958e5ec0b397e8c52414ad530684eec89e7c21e87ff221be261c6f1ce9 |
|
MD5 | 26f92f9d20cea8f235009dce646c01c5 |
|
BLAKE2b-256 | 0eebfbb0ec3d1d70ccc14d53148b1d27e0e6f2f4486fcdb2b5b5993b47ed3c0a |