Override TLS version **and** ciphers for HTTParty
`set_params` override everything with default parameters if not provided So if ciphers not specified, reset to the default hardcoded ones See https://github.com/ruby/ruby/blob/v2_3_0/ext/openssl/lib/openssl/ssl.rb#L124v1 v1-prod
parent
c34802c7ec
commit
e46a1c14c5
|
@ -20,7 +20,8 @@ module CryptCheck
|
|||
follow_redirects: false,
|
||||
verify: false,
|
||||
timeout: SSL_TIMEOUT,
|
||||
ssl_version: self.supported_protocols.first
|
||||
ssl_version: self.supported_protocols.first,
|
||||
ciphers: 'ALL:COMPLEMENTOFALL'
|
||||
}
|
||||
if header = response.headers['strict-transport-security']
|
||||
name, value = header.split '='
|
||||
|
|
Loading…
Reference in New Issue