Commit 2adb85fc0fb30dfe1c9e430c33c67cf6de0ab229
1 parent
c54c936c
Exists in
staging
and in
7 other branches
Disable ssl verification for feed handler
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
lib/feed_handler.rb
@@ -48,6 +48,7 @@ class FeedHandler | @@ -48,6 +48,7 @@ class FeedHandler | ||
48 | else | 48 | else |
49 | header.merge!(:proxy => ENV['FEED_HTTP_PROXY']) if ENV['FEED_HTTP_PROXY'] | 49 | header.merge!(:proxy => ENV['FEED_HTTP_PROXY']) if ENV['FEED_HTTP_PROXY'] |
50 | end | 50 | end |
51 | + header.merge!(ssl_verify_mode: OpenSSL::SSL::VERIFY_NONE) | ||
51 | open(address, header, &block) | 52 | open(address, header, &block) |
52 | end | 53 | end |
53 | return content | 54 | return content |