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.
// 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”);
$result = curl_exec($ch);