If you are looking for a solution to access content over SSL, please take a look at this solution. Here i am fetching content from del.icio.us over SSL. the trick is you have to accept SSL certificates by setting CURLOPT_SSL_VERIFYPEER to false.
<?php
// HTTP authentication
$url = “https://api.del.icio.us/v1/posts/all”;
$ch = curl_init($url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_USERPWD, “username:pass”);
curl_setopt($ch,CURLOPT_SSL_VERIFYPEER,false);
$result = curl_exec($ch);
curl_close($ch);
echo htmlspecialchars($result);
?>