1
0
mirror of https://github.com/smallstep/cli.git synced 2026-10-24 11:19:19 +03:00

282 Commits

Author SHA1 Message Date
max furman
90f6c10bf1 fix step ca certificate example 2019-02-07 17:19:27 -08:00
Mariano Cano
d0261e2dad PR review changes. 2019-02-06 18:25:51 -08:00
Mariano Cano
f9983e8b35 Add examples and fix typo. 2019-02-06 18:23:34 -08:00
Mariano Cano
e7da71c720 Check for root certificate.
Fixes #59
2019-02-06 18:15:57 -08:00
Mariano Cano
57a9d7ca50 Merge branch 'master' into truststore 2019-02-05 20:37:50 -08:00
max furman
1379a62e0c Add SAN support to step certificate create 2019-02-05 18:32:13 -08:00
max furman
78591d7bd9 doc updates for step ca certificate 2019-02-05 17:48:08 -08:00
max furman
52b788360c common-name -> subject 2019-02-05 17:45:18 -08:00
Mariano Cano
409133e6e3 Add install flag to step ca bootstrap. 2019-02-05 15:43:26 -08:00
Mariano Cano
2369018b7c Add step certificate uninstall command
Fixes #59
2019-02-05 13:33:29 -08:00
max furman
08f60cf2bd only add CN to SANs if SANs are empty
* hostname -> common name
2019-02-04 20:05:50 -08:00
Mariano Cano
01f076c26a Add command to install a certificate in the system truststore.
Fixes #59
2019-02-04 18:18:01 -08:00
max furman
43b7de3a87 Set the SANS when generating a certificate with step CA
* examples
* modify WithHosts to add only if missing
* add a new claim to step provisioning tokens
2019-01-30 18:15:20 -06:00
Sebastian Tiedtke
36df74fa6e Fix typo 2019-01-29 10:12:46 -06:00
Mariano Cano
e9052f6819 Add a command to get the public key of a certificate or CSR
Fixes #68
2019-01-23 19:09:44 -08:00
Mariano Cano
a58d3d580e Allow to use different password for provisioners and certificate keys. 2019-01-18 16:36:24 -08:00
Mariano Cano
dd0ffc87f4 Add --password-file flag when keys are created.
Allow non-interactive flows.
2019-01-18 16:19:44 -08:00
Mariano Cano
a32940312a Merge pull request #64 from smallstep/mariano/init-flags
Add flags to specify the arguments to `step ca init`
2019-01-17 10:52:20 -08:00
Mariano Cano
5944c77cb3 Reorder imports. 2019-01-16 18:25:42 -08:00
Mariano Cano
732ef38127 Add flags to specify the arguments to step ca init 2019-01-16 18:22:54 -08:00
Mariano Cano
4e0979b96b Fix typo. 2019-01-16 17:55:06 -08:00
Mariano Cano
e0fac8fa60 Add support for inspecting DER certificates.
Fixes #54
2019-01-16 15:20:22 -08:00
max furman
574b8b8a86 gofmt 2019-01-16 13:21:07 -08:00
max furman
941b30efc2 remote fingerprint improvements
* lowercase URL before checking prefixes
* don't overwrite error stack for step errors
* add trimURLPrefix test
2019-01-16 13:15:24 -08:00
max furman
4018ecd784 pull out common remote peer methods 2019-01-16 10:55:00 -08:00
max furman
911aac9c85 Fingerprint certificate of remote server
* addresses #56
2019-01-15 17:49:47 -08:00
max furman
4b297bface weird character 2019-01-14 18:43:25 -08:00
Mariano Cano
fcd2ea2e79 Remove unused flag from docs. 2019-01-14 18:24:15 -08:00
Mariano Cano
4995e9d208 Remove token requirement for step ca roots and federation. 2019-01-14 11:55:09 -08:00
Mariano Cano
face214392 Add token flow and examples. 2019-01-10 12:43:13 -08:00
Mariano Cano
6b4c993d88 Add step ca roots and step ca federation commands. 2019-01-10 12:27:09 -08:00
Mariano Cano
1ab718289b Fix check of the error. 2018-12-27 20:23:38 -08:00
Mariano Cano
27cda2b8b6 Add an extra example. 2018-12-27 20:16:28 -08:00
Mariano Cano
c587481b84 Add support to format to PEM-encoded PKCS#8 form
Fixes #47
2018-12-27 20:07:56 -08:00
Mariano Cano
1d65ab59f8 Add support to format to PKCS#8 form.
Fixes #47
2018-12-27 16:51:06 -08:00
Mariano Cano
6adc5b19be Use pemutil.Options on the Serialize method. 2018-12-27 16:23:36 -08:00
Mariano Cano
990c175ba6 Add --pkcs8 flag to step crypto key format.
Convert to DER pkcs1/sec1/pkcs8.
2018-12-27 15:32:22 -08:00
Mariano Cano
1496671a88 Allow to add custom validity in step certificate create
Fixes #51
2018-12-21 16:48:35 -08:00
max furman
0248d66ddd add context to renew-period error msg 2018-12-11 20:31:35 -08:00
max furman
0bb83a1bcb white space and don't wrap error 2018-12-11 20:22:36 -08:00
max furman
1df747d276 documentation adjustments and use ReadCertPool 2018-12-11 17:42:39 -08:00
Mariano Cano
35e3906f73 Add support for running custom commands after a renewal.
Fixes #44
2018-12-11 17:01:02 -08:00
Mariano Cano
25e7bc2a0e Add support for running a custom command after the renew.
Fixes #44
2018-12-11 16:51:46 -08:00
Mariano Cano
7a3b673341 Remove extra character. 2018-12-11 14:15:13 -08:00
Mariano Cano
2df142c43d Add examples and some checks for the --renew-period flag.
Fixes #44
2018-12-11 12:01:55 -08:00
Mariano Cano
df75da5fe7 Add fixed period to run the renewal every x duration. 2018-12-10 19:33:21 -08:00
Mariano Cano
53677e0481 Add initial version of renewal daemon.
Fixes #44
2018-12-10 18:27:16 -08:00
Mariano Cano
d1a5dc4946 Remove debug statement. 2018-12-10 11:16:35 -08:00
Mariano Cano
be93be7ae4 Move step ca renew to a new file. 2018-12-10 11:02:07 -08:00
max furman
6703c03c3e differentiate between output types for --csr 2018-12-05 12:12:07 -08:00