Skip to content

Commit

Permalink
Missing docs
Browse files Browse the repository at this point in the history
  • Loading branch information
markokr committed Apr 4, 2019
1 parent 7bb1bd5 commit d6a759c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,13 @@ Options:
--password-file FN
Password file for CA private key. Can be PGP-encrypted.

selfsign
~~~~~~~~

This commands takes same arguments as `request` plus `--days NUM`.
By default it avoids adding KeyUsage_ and ExtendedKeyUsage_
as there are no good defaults.

show
~~~~

Expand All @@ -319,8 +326,7 @@ Example
Self-signed CA example::

$ ./sysca.py new-key | gpg -aes -r "[email protected]" > TestCA.key.gpg
$ ./sysca.py request --key TestCA.key.gpg --subject "/CN=TestCA/O=Gov" --CA > TestCA.csr
$ ./sysca.py sign --request TestCA.csr --ca-key TestCA.key.gpg --ca-info TestCA.csr > TestCA.crt
$ ./sysca.py selfsign --key TestCA.key.gpg --subject "/CN=TestCA/O=Gov" --CA > TestCA.crt

Sign server key::

Expand Down

0 comments on commit d6a759c

Please sign in to comment.