Is your feature request related to a problem? Please describe.
In Kubernetes, certificates are mounted as secret volumes, which can be configured to update automatically when the cert is rotated (e.g. from Key Vault). To achieve auto-rotation in Kestrel today, we need to hook up ServerCertificateSelector and listen to file changes (e.g. using IFileProvider.Watch).
Describe the solution you'd like
Add a HttpsConnectionAdapterOptions.ServerCertificatePath property that would watch for file changes.
Is your feature request related to a problem? Please describe.
In Kubernetes, certificates are mounted as secret volumes, which can be configured to update automatically when the cert is rotated (e.g. from Key Vault). To achieve auto-rotation in Kestrel today, we need to hook up
ServerCertificateSelectorand listen to file changes (e.g. usingIFileProvider.Watch).Describe the solution you'd like
Add a
HttpsConnectionAdapterOptions.ServerCertificatePathproperty that would watch for file changes.