changed how to support multiple domains and support client authentication directly by rustls using split server_config
This commit is contained in:
parent
42c0e9474e
commit
512690fce5
11 changed files with 218 additions and 184 deletions
4
TODO.md
4
TODO.md
|
|
@ -9,5 +9,7 @@
|
|||
- Documentation
|
||||
- Client certificate
|
||||
- support intermediate certificate. Currently, only supports client certificates directly signed by root CA.
|
||||
- split rustls::server::ServerConfig for SNIs
|
||||
- Currently, we took the following approach (caveats)
|
||||
- For Http2 and 1.1, prepare `rustls::ServerConfig` for each domain name and hence client CA cert is set for each one.
|
||||
- For Http3, use aggregated `rustls::ServerConfig` for multiple domain names except for ones requiring client-auth. So, if a domain name is set with client authentication, http3 doesn't work for the domain.
|
||||
- etc.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue