Flavio Grossi
7b5997cee9
always use CATTLE_NEW_SIGNED_CERT_EXPIRATION_DAYS when generating a certificate
2022-07-20 12:07:31 -07:00
Brad Davidson
b1d65efb6f
Move Kubernetes Secrets storage update to goroutine
...
Fixes issue where apiserver outages can block dynamiclistener from accepting new connections.
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-05-02 18:48:48 -07:00
Brian Downs
148d38076d
update config to allow for specifying experiation in days ( #53 )
2021-12-21 15:38:04 -07:00
Brad Davidson
284cc004e8
Fix listenAndServe certificate expiration by preloading certs
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-11-23 23:38:49 -08:00
Brad Davidson
53f6b38760
Allow forcing cert reissuance ( #28 )
...
Refreshing the cert should force renewal as opposed to returning
early if the SANs aren't changing. This is currently breaking refresh
of expired certs as per:
https://github.com/rancher/k3s/issues/1621#issuecomment-669464318
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2020-08-10 17:12:39 -07:00
Knic Knic
94e23c7edb
fix certpath generation for windows
2020-04-25 22:59:52 -07:00
galal-hussein
583d996366
rotate wrangler cert
2019-10-10 03:05:39 +02:00
galal-hussein
5296dd0eba
Add Generate key function
2019-09-16 19:04:16 +02:00
Darren Shepherd
077eb13a90
Initial Commit
2019-05-09 12:36:03 -07:00