curl-library
libcurl + apache module (error:58)
Date: Wed, 16 Jan 2019 13:04:40 -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 it work fine,
If I remove the password it works
Only when I add the password to keyfile it fails (yes the password is
correct)
No issue on a standalone test appreciate any help
Thanks
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2019-01-16