You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As things are right now, only TLS configurations with a single certificate are properly supported. Setting up SNI-based certificate selection is possible but quite a pain, as it requires delving into Rustls. Ideally, there would API analogous to from_pem_chain_file(), for example:
For reference, an approximation of how I currently have to implement this functionality (requires adding rustls and rustls-pemfile as direct dependencies):
As things are right now, only TLS configurations with a single certificate are properly supported. Setting up SNI-based certificate selection is possible but quite a pain, as it requires delving into Rustls. Ideally, there would API analogous to
from_pem_chain_file()
, for example:For reference, an approximation of how I currently have to implement this functionality (requires adding
rustls
andrustls-pemfile
as direct dependencies):This is going to get simpler with Rustls 1.22 but still way too much boilerplate for what should be a trivial task.
The text was updated successfully, but these errors were encountered: