Validate TLS certificates according to Matrix spec
I had to switch to rustls
, since native-tls
has no means of customizing the certificate verification.
As a bonus, the list of dependencies goes down, since Rocket's TLS support already uses rustls
and Conduit pulls ring
, the biggest dependency, anyway.
-
I agree to release my code and all other changes of this MR under the Apache-2.0 license