class ActiveUtils::Connection

def configure_cert(http)

def configure_cert(http)
  return if pem.blank?
  http.cert = OpenSSL::X509::Certificate.new(pem)
  if pem_password
    http.key = OpenSSL::PKey::RSA.new(pem, pem_password)
  else
    http.key = OpenSSL::PKey::RSA.new(pem)
  end
end