--- gist.orig 2011-03-29 18:51:45.258852583 +0800 +++ gist 2011-03-29 14:51:47.060574433 +0800 @@ -182,7 +182,7 @@ http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_PEER - http.cert = OpenSSL::X509::Certificate.new(ca_cert) + http.ca_file = "/usr/local/share/certs/ca-root-nss.crt" req = Net::HTTP::Post.new(url.path) req.form_data = data(files, private_gist)