Ignore SSL

This commit is contained in:
Matthew Ransley
2023-07-04 20:02:09 +01:00
parent 97d5b067c8
commit d51035a0f2

View File

@@ -4,6 +4,7 @@ use boring::ssl::{
SslConnectorBuilder, SslConnectorBuilder,
SslMethod, SslMethod,
SslVersion, SslVersion,
SslVerifyMode,
}; };
use http::{ use http::{
header::{ ACCEPT, ACCEPT_ENCODING, ACCEPT_LANGUAGE, UPGRADE_INSECURE_REQUESTS, USER_AGENT }, header::{ ACCEPT, ACCEPT_ENCODING, ACCEPT_LANGUAGE, UPGRADE_INSECURE_REQUESTS, USER_AGENT },
@@ -38,6 +39,8 @@ fn create_ssl_connector() -> SslConnectorBuilder {
builder.enable_ocsp_stapling(); builder.enable_ocsp_stapling();
builder.set_verify(SslVerifyMode::NONE);
let cipher_list = [ let cipher_list = [
"TLS_AES_128_GCM_SHA256", "TLS_AES_128_GCM_SHA256",
"TLS_AES_256_GCM_SHA384", "TLS_AES_256_GCM_SHA384",