Function iroh_relay::server::testing::tls_config
source · pub fn tls_config() -> TlsConfig<()>Available on crate feature
server only.Expand description
Creates a TlsConfig suitable for testing.
- Uses a self signed certificate valid for the
"localhost"and"127.0.0.1"domains. - Configures https to be served on an OS assigned port on ipv4.