Switch back to mozilla_intermediate TLS preset for compatibility

This commit is contained in:
Jonas Herzig 2019-02-09 16:23:57 +01:00
parent a194bb6c6f
commit d1daad2773

View file

@ -229,7 +229,7 @@ impl Connection {
self.ice = Some((agent, stream));
// Prepare to accept the DTLS connection
let mut acceptor = SslAcceptor::mozilla_modern(SslMethod::dtls()).unwrap();
let mut acceptor = SslAcceptor::mozilla_intermediate(SslMethod::dtls()).unwrap();
acceptor.set_certificate(&self.dtls_cert).unwrap();
acceptor.set_private_key(&self.dtls_key).unwrap();
// FIXME: verify remote fingerprint