Skip to main content

No project description provided

Project description

Certificates Generation Tools

build

Description

This tools can generate customs certificates for testing. The certificate be able not standard.

This tools use yaml or json file descriptor for define tasks to execute.

Example

For exemple, we can generate certificate with notAfter previous to notBefore :

---
- kind: key
  name: world
  bits: 8192
- kind: cert
  name: world
  private_keyid: world
  autosign: true
  notBefore: '1990-01-01'
  notAfter: '2000-11-30'
  subject:
    CN: world
  isCa: false
  CrlDP:
    uris:
    - http://aroundtheworld.cam

And the command to run: certs-gen-tools -f example.yaml -F yaml.

More example are present into examples directory.

Installation

Use the package manager pip to install foobar.

pip install certificates-generation-tools

Usage

certs-gen-tools --help
usage: certs-gen-tools [-h] -f FILE [-F {json,yaml}] [-d WORKDIR] [-D] [-C]

optional arguments:
  -h, --help            show this help message and exit
  -f FILE, --file FILE  Define the file contains actions list
  -F {json,yaml}, --format {json,yaml}
                        Define the format of files
  -d WORKDIR, --workdir WORKDIR
                        Define the workdir where files will be generating
  -D, --debug           Activate debug mode
  -C, --clean-except-keys
                        Generate all the certificates except not the keys

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Tests

Run tests with tox command :

tox
tox -e testsacc

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

certificates-generation-tools-0.0.4.tar.gz (4.6 kB view hashes)

Uploaded Source

Built Distribution

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