On Feb 18, 2009, at 2:51 PM, Bob Smyph wrote:

> Rob Biedenharn wrote:
>> require 'net/https'
>>
>> and use Net::HTTPS.new perhaps?
>>
>> Rob Biedenharn    http://agileconsultingllc.com
>> Rob / AgileConsultingLLC.com
>
> i already had 'net/https'
>
> i changed it to use HTTPS.new but get the following error
>
> 'unititialized constant Net::HTTPS'


Sorry, so do I!  But what do you get with:

connection = Net::HTTP.new("172.31.3.97", 8080)
connection.use_ssl = true
connection.verify_mode = OpenSSL::SSL::VERIFY_PEER

connection.get '/'

Is the response a 200 OK? Or some error about the:
OpenSSL::SSL::SSLError: certificate verify failed

Or something else?

-Rob

Rob Biedenharn		http://agileconsultingllc.com
Rob / AgileConsultingLLC.com