Ignore SSL
This commit is contained in:
@@ -4,6 +4,7 @@ use boring::ssl::{
|
||||
SslConnectorBuilder,
|
||||
SslMethod,
|
||||
SslVersion,
|
||||
SslVerifyMode,
|
||||
};
|
||||
use http::{
|
||||
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.set_verify(SslVerifyMode::NONE);
|
||||
|
||||
let cipher_list = [
|
||||
"TLS_AES_128_GCM_SHA256",
|
||||
"TLS_AES_256_GCM_SHA384",
|
||||
|
||||
Reference in New Issue
Block a user