Rocket/lib
Sergio Benitez 237370533c Update cert in 'tls' example for new 'rustls'.
The latest version of `rustls` acts on the SNI extension to TLS without
the apparent ability to disable the behavior. `rustls` requires that the
server's certificate match the client's requested server. The matching
is done by looking at DNS names in the `subjectAltName` extension and
checking if the requested server name is present. Since the certificate
in the `tls` example did not have the `subjectAltName` extension, this
check always failed, and the TLS connection was aborted. This commit
adds the extension to the certificate with a DNS name of `localhost`,
ensuring that TLS succeeds on `localhost`.
2017-09-01 03:16:36 -07:00
..
benches Fix benchmarks to use 'route.uri' instead of 'route.path'. 2017-06-18 02:07:13 -07:00
src Improve I/O and BadType config error messages. 2017-08-31 19:05:35 -07:00
tests Add regression test for issue #345. 2017-07-14 09:54:11 -07:00
Cargo.toml Update cert in 'tls' example for new 'rustls'. 2017-09-01 03:16:36 -07:00
build.rs Restrict compilation to rustc >= 2017-07-09. 2017-07-09 22:34:29 -07:00