Let's Encrypt是一个免费的、自动化的、开放的证书颁发机构(Certificate Authority,CA),由Internet Security Research Group (ISRG)提供。它的目标是使互联网更加安全,通过提供免费的SSL/TLS证书,让网站可以轻松地启用HTTPS。
let mut server = OpenSSLServer::new(8400); let mut server = OpenSSLServer::new_rsa(8400); server.arg("-named_curve").arg("secp384r1"); server.run(); server.client()28 changes: 26 additions & 2 deletions 28 tests/suites.rs Original file line numberDiff line numberDiff line change...
{ let mut tlsclient = TlsClient::new(sock, &args.arg_hostname, &cafile, &args.flag_suite); if args.flag_http { - let httpreq = format!("GET / HTTP/1.1\r\nHost: {}\r\nConnection: close\r\n\r\n", args.arg_hostname); + let httpreq = format!("GET / HTTP/1.1\r\n...
(8400); + let mut server = OpenSSLServer::new_rsa(8400); server.arg("-named_curve").arg("secp384r1"); server.run(); server.client() diff --git a/tests/suites.rs b/tests/suites.rs index 72041a72e7..0591f04567 100644 --- a/tests/suites.rs +++ b/tests/suites.rs @@ -6,...