Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Add TLS certificate reloading on SIGHUP #60

Merged
merged 1 commit into from
Jul 18, 2018

Conversation

JayH5
Copy link
Contributor

@JayH5 JayH5 commented Jun 13, 2018

This is needed when using short-lived TLS certificates, for example when using Let's Encrypt certificates or certificates issued from Vault itself.

Vault itself reloads configured certificates on SIGHUP. One difference is that here a signal handler is not set up if TLS is not configured, so if you don't configure TLS, SIGHUP will kill the vltgatekeeper process like it does currently.

The main thing I'm unsure of is where to place this code. There are some certificate-y things in gatekeeper/cert.go but they are a bit different than this stuff.

Thanks for the great project 🙏.

@JayH5
Copy link
Contributor Author

JayH5 commented Jun 13, 2018

Build failing due to #58

@nemosupremo nemosupremo merged commit b269a6a into nemosupremo:master Jul 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants