diff --git a/includes/common.inc b/includes/common.inc
index 19798ba..4baafd2 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -492,7 +492,7 @@ function drupal_http_request($url, $headers = array(), $method = 'GET', $data =
       // Note: Only works for PHP 4.3 compiled with OpenSSL.
       $port = isset($uri['port']) ? $uri['port'] : 443;
       $host = $uri['host'] . ($port != 443 ? ':'. $port : '');
-      $fp = @fsockopen('ssl://'. $uri['host'], $port, $errno, $errstr, $timeout);
+      $fp = @fsockopen('tls://'. $uri['host'], $port, $errno, $errstr, $timeout);
       break;
     default:
       $result->error = 'invalid schema '. $uri['scheme'];
