We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c778d3 commit be13a25Copy full SHA for be13a25
lib/datasets/downloader.rb
@@ -158,6 +158,11 @@ def download(output_path, &block)
158
http = Net::HTTP.new(url.hostname, url.port)
159
# http.set_debug_output($stderr)
160
http.use_ssl = (url.scheme == "https")
161
+ if http.use_ssl?
162
+ store = OpenSSL::X509::Store.new
163
+ store.set_default_paths
164
+ http.cert_store = store
165
+ end
166
http.start do
167
path = url.path
168
path += "?#{url.query}" if url.query
0 commit comments