lib/ftw/agent.rb in ftw-0.0.41 vs lib/ftw/agent.rb in ftw-0.0.42

- old
+ new

@@ -443,11 +443,12 @@ certificate_verify(host, port, verified, context) rescue => e @logger.error("Error in certificate_verify call", :exception => e) end end - connection.secure(:certificate_store => certificate_store, - :verify_callback => verify_callback) + ciphers = SSL_CIPHER_MAP[configuration[SSL_CIPHERS]] || configuration[SSL_CIPHERS] + connection.secure(:certificate_store => certificate_store, :verify_callback => verify_callback, + :ciphers => ciphers, :version => configuration[SSL_VERSION]) end # if secure return connection, nil end # def connect