HTTP GET request using Ruby on Rails: OpenSSL::SSL::SSLError
I really suspect that it might be the difference in the port you are using. Should be 443 for HTTPS. Try this :
def httpwork
require "net/http"
uri = URI("https://yourhost.com/yourpath")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
request = Net::HTTP::Get.new("/yourpath")
response = http.request(request)
end