Skip to main content

Certificate tool for Sysadmins

Project description

Description

Easy-to-use tool for certificate management. To make data flow simple, it does not support metadata rewrite during signing, all data should be correct in certificate request.

Features

  • No interactive data entry.

  • Simple command-line UI.

  • Good defaults, sets up common extensions automatically.

  • PGP- and password-protected private keys.

  • OCSP and CRL info settings.

  • Supports both EC and RSA keys.

Dependencies

  • Python cryptography module (version >= 1.2).

  • (Optional) gpg command-line tool to decrypt files.

  • (Optional) openssl command-line tool to show CRT/CSR contents.

Summary

Generate new key:

sysca new-key              [--password-file TXT_FILE] [--out DST]
sysca new-key ec[:<curve>] [--password-file TXT_FILE] [--out DST]
sysca new-key rsa[:<bits>] [--password-file TXT_FILE] [--out DST]

Create certificate signing request:

sysca request --key KEY_FILE [--password-file TXT_FILE]
              [--subject DN] [--san ALTNAMES]
              [--CA] [--path-length DEPTH]
              [--usage FLAGS] [--ocsp-url URLS] [--crl-url URLS]
              [--issuer-cert-url URLS]
              [--out CSR_FN]

Create selfsigned certificate:

sysca selfsign --key KEY_FILE --days N [--password-file TXT_FILE]
              [--subject DN] [--san ALTNAMES]
              [--CA] [--path-length DEPTH]
              [--usage FLAGS] [--ocsp-url URLS] [--crl-url URLS]
              [--issuer-cert-url URLS]
              [--out CRT_FN]

Sign certificate signing request:

sysca sign --ca-key KEY_FILE --ca-info CRT_FILE
           --request CSR_FILE --days NUM
           [--out CRT_FN] [--password-file TXT_FILE]

Display contents of CSR or CRT file:

sysca show FILE

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

sysca-1.1.tar.gz (25.1 kB view details)

Uploaded Source

File details

Details for the file sysca-1.1.tar.gz.

File metadata

  • Download URL: sysca-1.1.tar.gz
  • Upload date:
  • Size: 25.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.2

File hashes

Hashes for sysca-1.1.tar.gz
Algorithm Hash digest
SHA256 a971f1605d26fd8edf8dc96e95bd2574f7929cdf63ebfd53fd46a08cb46c38b4
MD5 b7293a5f3ac283d9d04db531de8b4e5b
BLAKE2b-256 2151049c2c384aef673c704714416723b7f5f16cc8dd9b06ffd07ddab18629bf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page