[asterisk-users] curl and ssl certificate

Tilghman Lesher tlesher at digium.com
Thu Feb 25 08:09:21 CST 2010


On Thursday 25 February 2010 01:29:37 voipas wrote:
>   Is it possible use asterisk curl function with ssl sertificate?

If you're talking about just connecting to an SSL server, that is dependent
upon using a version of libcurl with SSL support.  If, on the other hand,
you're talking about using a client certificate, that is not yet supported,
but could be very easily by altering the CURLOPT function in versions which
support it (1.6.2 and higher).  Look in parse_curlopt_key() in func_curl.c,
and it should be fairly obvious how to add custom support for it.

-- 
Tilghman Lesher
Digium, Inc. | Senior Software Developer
twitter: Corydon76 | IRC: Corydon76-dig (Freenode)
Check us out at: www.digium.com & www.asterisk.org



More information about the asterisk-users mailing list