diff --git a/lib/httpclient.rb b/lib/httpclient.rb index e1f18647..ef74913f 100644 --- a/lib/httpclient.rb +++ b/lib/httpclient.rb @@ -1076,6 +1076,9 @@ def load_environment else self.proxy = getenv('http_proxy') end + if getenv('SSL_CERT_DIR') + self.ssl_config.add_trust_ca(getenv('SSL_CERT_DIR')) + end # no_proxy self.no_proxy = getenv('no_proxy') end