using ruby Net::HTTP with self signed certificates

Probably more of a ruby question than a rails question but I am trying to retrieve a file from my web server that requires ssl but uses a self signed certificate.

Looking through all of the documentation at http://www.ruby-doc.org/stdlib/libdoc/net/http/rdoc/index.html and

I don't see any way that I could do something equivalent to like wget...

wget -no-check-certificate https://myserver/myfile.txt

Is there any way to accomplish this with net/http or do I have to execute a shell wget and open the file locally?

Craig

Probably more of a ruby question than a rails question but I am trying to retrieve a file from my web server that requires ssl but uses a self signed certificate.

Looking through all of the documentation at http://www.ruby-doc.org/stdlib/libdoc/net/http/rdoc/index.html and http://www.ruby-doc.org/stdlib/libdoc/net/http/rdoc/classes/Net/HTTP.html

I don't see any way that I could do something equivalent to like wget...

wget -no-check-certificate https://myserver/myfile.txt

Is there any way to accomplish this with net/http or do I have to execute a shell wget and open the file locally?