curl / Mailing Lists / curl-library / Single Mail

curl-library

libcurl + apache2 module

From: Sumonto Ghosh via curl-library <curl-library_at_cool.haxx.se>
Date: Mon, 14 Jan 2019 13:49:22 -0800

Hi,
Server version: Apache/2.4.29 (Ubuntu)
Server built: 2018-10-10T18:59:25

curl_easy_setopt(curl, CURLOPT_SSLCERT, "/AAA/abc.xyz.pem")
curl_easy_setopt(curl, CURLOPT_SSLKEY, "/AAA/keyfile")
curl_easy_setopt(curl, CURLOPT_KEYPASSWD, "BBBB");
curl_easy_setopt(curl, CURLOPT_URL, ...)
res = curl_easy_perform(curl)

I have an apache module with the above code,
testCurl1() failed, error_code:58
testCurl1() failed, strerror():Problem with the local SSL certificate
testCurl1() failed, getCurlErrBuffer():could not load PEM c

*Permissions on /AAA*
drwxr-xr-x 2 www-data 4096 Jan 10 22:25 /AAA/

*...com.conf*
<Directory /AAA/>
    AllowOverride All
    Require all granted
</Directory>

If I execute the same options in standalone test they work fine, appreciate
any help

Thanks
Sumonto

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2019-01-14