[asterisk-users] CURL function with SSL

Wenbin Zhang wenbin at freeyourdata.net
Fri Aug 14 10:23:05 CDT 2009


Tilghman Lesher wrote:
> On Friday 14 August 2009 09:04:12 Wenbin Zhang wrote:
>   
>> Hi all,
>>     I hope you guys can help me out. I got a problem with using function
>> CURL. I
>> did Set(CURL=${CURL(URL)}); but the URL I was using is https, so when I
>> generated the call, the CURL function could not get access to that
>> https://URL server. What should I do with it? Thank you very much
>>     
>
> The most likely problem is that your libcurl library was not compiled with
> SSL support.  If you're installing from source, you'll need to recompile,
> adding SSL support to the configure options.  If you're installing from a
> package, there's likely another package that you need to install for SSL
> support (e.g. in Ubuntu, you need to install either libcurl4-gnutls-dev or
> libcurl4-openssl-dev).
>
>   
Thank you very much for your help Tilghman. But I have one more question 
here. After I install libcurl4-openssl-dev, do I have to do some 
configurations about it? Or do I have to let CURL know the certificate 
that https://URL is using? Please tell me some details if you can. Thank 
you very much.



More information about the asterisk-users mailing list