Skip to main content

Certificate tool for Sysadmins

Project description

Description

Easy-to-use command-line tool for certificate management.

Features

  • 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 >= 2.1).

  • (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]
           [--reset ...]

Change CRL file:

sysca update-crl --crl CRL_FILE --ca-key KEY_FILE --ca-info CRT_FILE
           --days NUM [--out CRT_FN] [--password-file TXT_FILE]
           [--reason REASON_NAME]
           [--revoke-cert CERT_FILE] ...
           [--revoke-serial SERIAL] ...
           [--crl-number NUM] [--delta-crl-number NUM]

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.2.tar.gz (28.6 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: sysca-1.2.tar.gz
  • Upload date:
  • Size: 28.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.8

File hashes

Hashes for sysca-1.2.tar.gz
Algorithm Hash digest
SHA256 4aa17a5f8457cfd7afe8dacf20a9e84800db996d1bd73aea5d18e74c55d73eaf
MD5 2c5f1356ec638c7de70d4a706ced4382
BLAKE2b-256 9b67644e1c219fb12519546ebe5c69ee7316bb5b08717f63dcee013bbe78e6f9

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