12 lines
589 B
Plaintext
12 lines
589 B
Plaintext
|
- make acme store implement https://docs.rs/rustls/latest/rustls/server/trait.ResolvesServerCert.html
|
||
|
|
||
|
- pass that into https://docs.rs/rustls/latest/rustls/struct.ConfigBuilder.html#
|
||
|
|
||
|
- turn that into a TlsAcceptor (From is implemented here:
|
||
|
https://docs.rs/tokio-rustls/latest/tokio_rustls/struct.TlsAcceptor.html#impl-From%3CArc%3CServerConfig%3E%3E-for-TlsAcceptor)
|
||
|
|
||
|
- use tls-listener crate to wrap hyper accepter: https://github.com/tmccombs/tls-listener/blob/main/examples/http.rs#L24
|
||
|
- https://github.com/tmccombs/tls-listener/blob/main/examples/tls_config/mod.rs
|
||
|
|
||
|
- logging
|