diff --git a/lib/faraday/adapter/em_http_ssl_patch.rb b/lib/faraday/adapter/em_http_ssl_patch.rb index 8bbfcbce3..a965069c2 100644 --- a/lib/faraday/adapter/em_http_ssl_patch.rb +++ b/lib/faraday/adapter/em_http_ssl_patch.rb @@ -39,7 +39,7 @@ def verify_peer? end def host - parent.connopts.host + parent.uri.host end def certificate_store