0c61a521c1
Switch to cobra as a CLI framework
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-05-27 12:02:56 +02:00
470ecccfec
Include feedback from #7
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-05-27 10:30:28 +02:00
86a9864b56
Merge remote-tracking branch 'callidus/master' into tls-auth
...
closes #7
2018-05-27 10:16:00 +02:00
99626a1d95
Only use ca_chain if present
...
The ca_chain is only available if the certificate was imported, not when
the certificate is generated by Vault itself. So try to read it and if
it fails fall back to using the CA cert.
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-05-27 10:13:59 +02:00
3dfa21116d
Merge remote-tracking branch 'wimfabri/ca_chain' into ca-chain-support
...
closes #6
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-05-27 10:05:38 +02:00
Timothy Kelsey
3cbad111a3
Can now use TLS Auth with shared key in vault
2018-05-23 13:13:51 +01:00
b00de8490a
Apply gofmt, join if clause and function call
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-01-30 22:30:59 +01:00
Wim Fabri
2854879219
revoke all existing certificates for FQDN instead of only first one
2018-01-30 15:15:30 +01:00
Wim Fabri
0922564882
write complete ca chain as ca
2018-01-30 15:06:56 +01:00
45928d5991
Allow sorting by date instead of FQDN
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-01-13 13:59:42 +01:00
3fef524e3d
Fix: Don't panic on non existent PKI path
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-10-10 10:19:14 +02:00
3874e1dc79
Allow path to templates to be configured
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-05-04 14:09:39 +02:00
2895423e4f
Make confirmation a cert has been created debug information
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-05-04 12:19:45 +02:00
7c187aa126
Add more validation to input
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-05-04 12:18:54 +02:00
29743cd411
Allow defining default config on disk
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-05-04 12:06:46 +02:00
2adcbfb5ca
Add revoke-serial, refactor code
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-05-04 11:55:45 +02:00
1a8767d852
Add "list" command
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-05-04 11:06:33 +02:00
bae2952fb1
Improve logging output
...
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-05-03 22:06:50 +02:00
Miguel Eduardo Gil Biraud
9bbffb9896
Simplify TLS handling
2016-08-25 17:13:40 +02:00
Miguel Eduardo Gil Biraud
542310fd7a
Add support for self-signed CAs that are in the OS trust store
2016-08-25 16:38:21 +02:00
6ea0573a4d
fix not enough arguments to return
2016-07-25 15:52:18 +02:00
6bfa753da7
fix errors not being returned
2016-07-25 15:51:14 +02:00
1249251a61
initial version
2016-07-25 00:51:25 +02:00