support dynamic issuer in tls cert issuer logic #354
Labels
enhancement
New feature or request
mentor available
A mentor is available to help you through the issue.
Milestone
At the time of writing this issue there is already the following support for tls acceptor auth config:
Where
ServerCertIssuerData
is:and
ServerCertIssuerKind
is:The goal of this issue is to provide a third variant to
ServerCertIssuerKind
such that it becomes:The dynamic "thing" would support any kind of custom logic to support getting certs. The thing could receive some kind of
CertIssueInput
, for example:Proposed steps to resolve this issue:
Some approaches we can make this happen:
provide a trait
ServerCertIssuer
and work with a Box`; This approach is the most obvious but also not one I like as it means we have to box by defaultprovide a channel based approach such that the variant would become something like (pseudo code):
Generics is something we do want to avoid here as it would make the entire type and using it a lot more cumbersome / complicated. Even when not using this dynamic approach.
This kind of feature would allow the implementation of an external cert issuer, as to not have to keep the
CA
or physical proximity of the proxy. It could also allow dynamic cert selection. And many other use cases.The text was updated successfully, but these errors were encountered: