mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-06 01:25:20 +00:00
Disable deprecated TLS versions 1.0, 1.1 (#6910)
This commit is contained in:
parent
a92b04106f
commit
51c44799f2
@ -153,7 +153,8 @@ http::Client::Options TLSTransport::getInternalOptions() {
|
||||
}
|
||||
|
||||
options.openssl_ciphers(kTLSCiphers);
|
||||
options.openssl_options(SSL_OP_NO_SSLv3 | SSL_OP_NO_SSLv2 | SSL_OP_ALL);
|
||||
options.openssl_options(SSL_OP_NO_SSLv3 | SSL_OP_NO_SSLv2 | SSL_OP_NO_TLSv1 |
|
||||
SSL_OP_NO_TLSv1_1 | SSL_OP_ALL);
|
||||
|
||||
if (client_certificate_file_.size() > 0) {
|
||||
if (!osquery::isReadable(client_certificate_file_).ok()) {
|
||||
|
Loading…
Reference in New Issue
Block a user