Commit 394f5df9 authored by jz143's avatar jz143

skip ssl cert verification

parent 47f86759
...@@ -32,7 +32,7 @@ class BuildIpaJob < ActiveJob::Base ...@@ -32,7 +32,7 @@ class BuildIpaJob < ActiveJob::Base
url_options[:download_token] = app_file.download_token url_options[:download_token] = app_file.download_token
download_url = Rails.application.routes.url_helpers.app_app_file_download_url(app_file.app, app_file, url_options) download_url = Rails.application.routes.url_helpers.app_app_file_download_url(app_file.app, app_file, url_options)
log << "Downloading from #{download_url}\n" log << "Downloading from #{download_url}\n"
open(download_url, "rb") do |read_file| open(download_url, "rb", {ssl_verify_mode: OpenSSL::SSL::VERIFY_NONE}) do |read_file|
file.write(read_file.read) file.write(read_file.read)
end end
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment