Commit graph

30 commits

Author SHA1 Message Date
Mariano Cano
36b622bfc2 Use Golang's default keep-alive.
Since Go 1.13 a net.Listen keep-alive is enabled by default if
the protocol and OS supports it. The new one is 15s to match
the net.Dial default one. Previously http.Server ListenAndServe
and ListenAndServeTLS used to add a wrapper with 3m that we
replicated.

See https://github.com/golang/go/issues/31510
2021-10-15 14:12:43 -07:00
Mariano Cano
50d09c183b Fix example and use ClientCAs.
Server trust client certificates using ClientCAs instead of RootCAs.
2020-09-02 15:10:11 -07:00
Carl Tashian
15bbd1cf20 Remove libpcsclite-dev requirement 2020-07-13 09:29:35 -07:00
Carl Tashian
4bde83a262 Fixes #295 2020-07-07 13:09:15 -07:00
Sebastian Tiedtke
7b1f4a43cf
Added example for custom claims (#39)
Add docs and examples for custom claims
2019-03-22 12:16:56 -07:00
Sebastian Tiedtke
55155d1207 Change readme formatting 2019-01-28 17:36:32 -06:00
Sebastian Tiedtke
754670ad12
Add basic federation example (#26)
Add basic federation example
2019-01-28 17:31:06 -06:00
max furman
a2d3733929 Add a simplified puppet example with snippets 2018-11-26 21:00:12 -05:00
Mariano Cano
d872f09910 Use mTLS by default on SDK methods.
Add options to modify the tls.Config for different configurations.
Fixes #7
2018-11-21 13:31:09 -08:00
Mariano Cano
0d4f96c1d9 Update renew with force flag.
Clean old certificates in volumes on start.
2018-11-20 16:47:08 -08:00
max furman
baaff35818 fix grammar in examples/README.md 2018-11-14 01:06:34 -08:00
Mariano Cano
eae25cbbd7 Remove unused commands. 2018-11-12 12:19:17 -08:00
Mariano Cano
74b7a54fa2 Use docker-composer up/down 2018-11-12 11:46:07 -08:00
Mariano Cano
d4e9812a98 Fix comments on dockerfiles. 2018-11-09 18:25:21 -08:00
Mariano Cano
c6462e21ec Add docs on how to run the docker demo. 2018-11-09 18:17:51 -08:00
Mariano Cano
30b30d7643 Add example of nginx+step-ca 2018-11-09 17:27:36 -08:00
Mariano Cano
9c64dbda9a Add helpers to add direct support for mTLS. 2018-11-07 16:07:35 -08:00
Mariano Cano
272bbc57dd Remove new- prefix for ca token and ca certificate commands. 2018-11-06 18:03:48 -08:00
Mariano Cano
ba88c8c5cb Add context to bootstrap methods. 2018-11-06 17:16:33 -08:00
Sebastian Tiedtke
299eea233b
Removed redundant closing brackets 2018-11-06 15:24:46 -08:00
Mariano Cano
ff0512eb58 Fix typo in method name. 2018-11-06 15:08:36 -08:00
Mariano Cano
4adc6143e8 Add example of certificate rotation. 2018-11-06 13:36:24 -08:00
Mariano Cano
a9246cd6f1 Add provisioner with a small default duration. 2018-11-06 13:16:08 -08:00
Mariano Cano
89fb49c6d7 Fix lint errors in examples. 2018-11-05 18:10:21 -08:00
Mariano Cano
6617c93732 Add new example and docs on the client SDK. 2018-11-05 18:04:12 -08:00
Mariano Cano
abe503ed21 Move examples to it's own directory so the build works. 2018-11-02 19:06:32 -07:00
Mariano Cano
e8a66d85a7 Add examples using the bootstrap methods. 2018-11-02 18:55:13 -07:00
Mariano Cano
50598e33c3 Remove unused files. 2018-11-02 18:39:30 -07:00
Mariano Cano
52784eda38 Add a simple full configuration of the ca to use with examples. 2018-11-02 18:25:15 -07:00
max furman
c284a2c0ab first commit 2018-10-05 21:48:36 +00:00