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 EC, RSA and DSA keys.
Dependencies
Python cryptography module (version >= 3.1).
(Optional) gpg command-line tool to decrypt files.
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] sysca new-key dsa[:<bits>] [--password-file TXT_FILE] [--out DST]
Create certificate signing request:
sysca request [-h] --key KEY_FILE [--password-file PSW_FILE] [--out OUT_FILE] [--outform FMT] [--text] [--rsa-pss] [--subject DN] [--san GNAMES] [--usage USAGE] [--CA] [--path-length DEPTH] [--crl-urls URLS] [--issuer-urls URLS] [--ocsp-urls URLS] [--ocsp-must-staple] [--ocsp-must-staple-v2] [--ocsp-nocheck] [--permit-subtrees GNAMES] [--exclude-subtrees GNAMES] [--require-explicit-policy N] [--inhibit-policy-mapping N] [--inhibit-any N] [--add-policy POLICY]
Create selfsigned certificate:
sysca selfsign [-h] [--out OUT_FILE] [--outform FMT] [--text] --key KEY_FILE [--password-file PSW_FILE] [--not-valid-before DATE] [--not-valid-after DATE] [--days DAYS] [--serial-number SN] [--rsa-pss] [--subject DN] [--san GNAMES] [--usage USAGE] [--CA] [--path-length DEPTH] [--crl-urls URLS] [--issuer-urls URLS] [--ocsp-urls URLS] [--ocsp-must-staple] [--ocsp-must-staple-v2] [--ocsp-nocheck] [--permit-subtrees GNAMES] [--exclude-subtrees GNAMES] [--require-explicit-policy N] [--inhibit-policy-mapping N] [--inhibit-any N] [--add-policy POLICY]
Sign certificate signing request:
sysca sign [-h] [--out OUT_FILE] [--outform FMT] [--text] --request CSR_FILE --ca-info CRT_FILE --ca-key KEY_FILE [--password-file PSW_FILE] [--not-valid-before DATE] [--not-valid-after DATE] [--days DAYS] [--serial-number SN] [--reset] [--rsa-pss] [--subject DN] [--san GNAMES] [--usage USAGE] [--CA] [--path-length DEPTH] [--crl-urls URLS] [--issuer-urls URLS] [--ocsp-urls URLS] [--ocsp-must-staple] [--ocsp-must-staple-v2] [--ocsp-nocheck] [--permit-subtrees GNAMES] [--exclude-subtrees GNAMES] [--require-explicit-policy N] [--inhibit-policy-mapping N] [--inhibit-any N] [--add-policy POLICY]
Create or update CRL file:
sysca update-crl [-h] [--out OUT_FILE] [--outform FMT] [--text] --ca-info CRT_FILE --ca-key KEY_FILE [--password-file PSW_FILE] [--crl CRL_FILE] [--crl-number VER] [--delta-crl-number VER] [--crl-scope SCOPE] [--crl-reasons REASONS] [--indirect-crl] [--issuer-urls URLS] [--delta-crl-urls URLS] [--last-update DATE] [--next-update DATE] [--days DAYS] [--revoke-certs FN [FN ...]] [--revoke-serials NUM [NUM ...]] [--reason REASON] [--invalidity-date DATE] [--revocation-date DATE]
Display contents of CRT, CSR or CRL file:
sysca show FILE
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
sysca-2.3.tar.gz
(107.6 kB
view details)
File details
Details for the file sysca-2.3.tar.gz
.
File metadata
- Download URL: sysca-2.3.tar.gz
- Upload date:
- Size: 107.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a188b44361cd834ff2412893eddb838b696e8f701b517eccffc5b02a46df075 |
|
MD5 | 82a761c708353e4f0605fe5400e97dc9 |
|
BLAKE2b-256 | f1dc722870d1a3c84c78f11e6283492910c003b8a320fc46ee9d69d2512ed5d4 |