[http-in] Linden Lab certificate for https connections

Latif Khalifa latifer at streamgrid.net
Thu Jul 9 18:18:20 PDT 2009


For those that wish to use http-in over https you could use the following
Linden Lab Certificate Authority public key:

http://jira.secondlife.com/secure/attachment/26441/linden.pem

In PHP you would use it like this:

$ch = curl_init("https://......");
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, TRUE);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
curl_setopt($ch, CURLOPT_CAPATH, "/path/to/linden.pem");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
$verify_results = curl_exec($ch);

Hope you guys might find this info useful.

-- L
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/secondlifescripters/attachments/20090710/7f4e3080/attachment.htm 


More information about the secondlifescripters mailing list