[asterisk-users] CURL function with SSL

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Fri Aug 14 09:56:44 CDT 2009


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).

-- 
Tilghman & Teryl
with Peter, Cottontail, Midnight, Thumper, & Johnny (bunnies)
and Harry, BB, & George (dogs)



More information about the asterisk-users mailing list