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

How to select server certificate dynamically based on SNI in ClientHello? #156

Open
markandpathak opened this issue Nov 26, 2024 · 0 comments

Comments

@markandpathak
Copy link

I would like to develop a TCP Server in which, the TLS Server certificate are selected based on the SNI in ClientHello. Think of a TCP Proxy with multiple domains hosted on single server. I could not find anything in documentation. Is this possible with tokio_native_tls in async manner? if not, any other way I can achieve this in tokio? A very minimal example is very much appreciated on how this can be achieved.

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

1 participant