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

tls: add support for additional PEMs / hosts #20

Open
cablehead opened this issue Mar 9, 2023 · 0 comments
Open

tls: add support for additional PEMs / hosts #20

cablehead opened this issue Mar 9, 2023 · 0 comments

Comments

@cablehead
Copy link
Owner

cablehead commented Mar 9, 2023

It should be possible to support TLS for multiple host names / PEM keys. The SNI from the TLS handshake should be used to select the right certs, key pair.

https://docs.rs/rustls/latest/rustls/server/struct.ResolvesServerCertUsingSni.html

Not a huge priority as it's possible to use bundled SAN certificates to support more than one host with a single private key.

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