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 a3a83ba commit 6526b85Copy full SHA for 6526b85
config/initializers/httpclient.rb
@@ -0,0 +1,11 @@
1
+require 'httpclient'
2
+
3
+class HTTPClient
4
+ alias original_initialize initialize
5
6
+ def initialize(*args, &block)
7
+ original_initialize(*args, &block)
8
+ # NOTICE: Force use of the default system CA certs (instead of the 6 year old bundled ones).
9
+ @session_manager&.ssl_config&.set_default_paths
10
+ end
11
+end
0 commit comments