class OpenAgent::SSLConfig
Public Instance Methods
cert_key()
click to toggle source
# File lib/openagent/ssl_config.rb, line 22 def cert_key "#{client_cert} #{client_key}" end
configure(conn)
click to toggle source
# File lib/openagent/ssl_config.rb, line 13 def configure(conn) conn.use_ssl = true conn.verify_mode = verify_mode conn.cert = client_cert if client_cert conn.key = client_key if client_key conn.ca_file = ca_file if ca_file end