The drupal_http_request function uses an fsockopen call to make requests. In the case of https URIs, it prepends "ssl://" to the front of the URL. When a web server has turned off SSLv2 and SSLv3, e.g. to prevent the Poodle vulnerability, this fsockopen call fails. The solution is to use tls:// instead.

Comments

jimethn created an issue. See original summary.

julien’s picture

i'm not sure if the port needs to change also.

jimethn’s picture

julien's patch is the same change I made in my environment and it works.

julien’s picture

Status: Active » Needs review
julien’s picture

added socket encryption

Status: Needs review » Closed (outdated)

Automatically closed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.