Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Async certificate resolver #2070

Closed
MatthewCash opened this issue Nov 28, 2024 · 2 comments
Closed

Async certificate resolver #2070

MatthewCash opened this issue Nov 28, 2024 · 2 comments

Comments

@MatthewCash
Copy link

Is there a way to asynchronously load and use a certificate after ClientHello? This is possible in tokio-rustls with LazyConfigAcceptor but I have not found a way to do it with qinn.

My use case is for the server to dynamically pick a cert based on SNI, read the cert's file asynchronously, and then use it for the connection.

@djc
Copy link
Member

djc commented Nov 28, 2024

Yeah, we don't have support for the Acceptor yet. I think there was some recent discussion (probably in Discord), but it's a little gnarly to fit into our current API.

@Ralith
Copy link
Collaborator

Ralith commented Nov 29, 2024

I think this is fundamentally a dup of #2024. See discussion there. We definitely want this feature, but it's not trivial.

@Ralith Ralith closed this as not planned Won't fix, can't repro, duplicate, stale Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants