Is there an easy way to update cURL to the latest version if we're using easyApache 4?
Problem I'm trying to solve: I'm running into an intermittent error trying to use cURL to connect to a website that uses cloudflare.
"SSL: no alternative certificate subject name matches target host name (redacted for privacy)"
Seems like the version of cURL on the server is 7.29 and the latest version is 7.77. Thought updating would be a logical first step to troubleshoot this as I know they have addressed a lot of SSL/TSL changes throughout version 7.
Other suggestions for solving the problem would also be appreciated. But I've played around a lot with the basic curl_setopt's and things like not verifying the peer/host don't fix the problem (one has no effect, the other results in a 404 file not found error). Restarting the server usually fixes the problem. So that makes me think it might be a caching / dns / cert.pem issue.
Problem I'm trying to solve: I'm running into an intermittent error trying to use cURL to connect to a website that uses cloudflare.
"SSL: no alternative certificate subject name matches target host name (redacted for privacy)"
Seems like the version of cURL on the server is 7.29 and the latest version is 7.77. Thought updating would be a logical first step to troubleshoot this as I know they have addressed a lot of SSL/TSL changes throughout version 7.
Other suggestions for solving the problem would also be appreciated. But I've played around a lot with the basic curl_setopt's and things like not verifying the peer/host don't fix the problem (one has no effect, the other results in a 404 file not found error). Restarting the server usually fixes the problem. So that makes me think it might be a caching / dns / cert.pem issue.