-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
8 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
~~~~ | ||
|
||
|
@@ -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:: | ||
|
||
|