dolthub / dolthub/dolt

Reload server TLS certificate from disk

Open
#10,129 0 comments 0 reactions 0 assignees View on GitHub
customer issue enhancement
Dominant language
Go
Stars
24.4k
Forks
873
Avg merge
1d 9h
Merged PRs (30d)
121

Description

A customer using short-lived TLS certificates would like for a Dolt SQL server to be able to hot reload those certificates from disk when they change. This enables customers to swap the server's certificate without having to restart the server process.

In Go, `tls.Config` structs have a `GetCertificate` member that can be populated with a callback function that can dynamically return the current certificate. This can be combined with code to watch the file system for changes and swap in the new certificate.

Original customer issue: https://github.com/dolthub/dolt/issues/10008

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.