Project

General

Profile

« Previous | Next » 

Revision c5226dd5

Added by Jason Montleon about 10 years ago

fixes #4245 - return HTTP body for oVirt SSL CA certificate

(cherry picked from commit 2e417b5824b4e5283586119052aed7b4953e468e)

View differences:

app/models/compute_resources/foreman/model/ovirt.rb
http.use_ssl = (ca_url.scheme == 'https')
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Get.new(ca_url.path)
http.request(request).to_s
http.request(request).body
end
private

Also available in: Unified diff