Support for DNS-01 and HTTP-01 ACME challenges (closes #226)
This commit is contained in:
@@ -308,7 +308,7 @@ impl common::listener::SessionManager for SessionManager {
|
||||
session
|
||||
.instance
|
||||
.acceptor
|
||||
.accept(session.stream, false)
|
||||
.accept(session.stream, None)
|
||||
.await
|
||||
.unwrap_tls()
|
||||
.await
|
||||
|
||||
@@ -368,8 +368,7 @@ impl TestServerInstance for ServerInstance {
|
||||
id: "smtp".to_string(),
|
||||
protocol: ServerProtocol::Smtp,
|
||||
acceptor: TcpAcceptor::Tls {
|
||||
acme_config: tls_config.clone(),
|
||||
default_config: tls_config.clone(),
|
||||
config: tls_config.clone(),
|
||||
acceptor: TlsAcceptor::from(tls_config),
|
||||
implicit: false,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user