From: Brian Candler Date: 2009-03-29T02:51:07+09:00 Subject: Re: https html parsing Arun Kumar wrote: > I solved the redirecting problem. But still the https problem remains. The error is just telling you that it doesn't have any local CA root certificates with which to verify the certificate presented by the peer. If you want to enable certificate verification, and set the path to the directory containing your CA root certificates, there is example code here: http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/sample/openssl/wget.rb?view=markup There is more documentation at the top of net/https.rb, which will be installed on your system somewhere, e.g. /usr/lib/ruby/1.8/net/https.rb You may already have root CA certificates installed. On my Ubuntu Hardy box they are in /etc/ssl/certs/ -- Posted via http://www.ruby-forum.com/.