cURL is an HTTP client library and command line tool.
Questions tagged [curl]
646 questions
12
votes
1 answer
How to use Chrome's CRL sets (or some master CRL list) as a CRL file?
I am looking for a master CRL list. The closest thing I have found is the Chromium project's CRLSets. I used crlset-tools to get the crlset (crlset fetch > crl-set) and then dumped the serial numbers (crlset dump crl-set) so I see something like…

test
- 317
- 1
- 3
- 7
11
votes
3 answers
libcurl.so.4 no version information available
curl: /usr/local/lib/libcurl.so.4: no version information available (required by curl)
This is the error I am getting. This error has not stopped any scripts or apps from running or preforming their tasks, however I do get an email from the system…

Dasoren
- 331
- 1
- 3
- 11
11
votes
5 answers
curl: (35) SSL connect error
I am trying to make a cURL HTTPS request to the Twitter API and I am getting this error:
[root@webscoming httpdocs]# curl -v https://api.twitter.com
About to connect() to api.twitter.com port 443 (#0)
Trying 199.16.156.199... connected
Connected to…

Alexandru Trandafir Catalin
- 363
- 1
- 3
- 14
10
votes
1 answer
Using Internet Explorer to invoke PHP/CURL for long running data API causes Apache 2 server to freeze and require restart
I'm running a PHP program that works fine as long as it's not invoked by a Microsoft Internet Explorer browser, after which it spawns the below processes, locks up Apache 2 and requires a restart of the web server (on Ubuntu…

ProfVersaggi
- 201
- 1
- 5
10
votes
4 answers
curl succeeds on an https request, wget does not
When I run curl from the command line
curl "https://example.com"
It succeeds immediately, returning the result of the request.
When I run the same wget command
wget https://example.com
It eventually times out with "Unable to establish SSL…

Resorath
- 323
- 1
- 3
- 13
10
votes
7 answers
Is cURL standard part of all Unix-like operating systems?
I'm writing a shell script that needs to download some data from the Internet and I was just thinking if I can rely on cURL that it's pre-installed on all Unix distributions.
I know that wget is not on OS X by default but cURL is. I also remember me…

martin
- 355
- 1
- 7
- 15
10
votes
2 answers
How to log outgoing http requests from PHP + cURL?
I have a PHP script set up that makes cURL requests whenever an action is performed on a site. The problem is that the information is being POSTed twice whenever the action is run.
I need to work out if this is a problem on my end (cURL is being…

Sam
- 197
- 1
- 1
- 9
9
votes
1 answer
What does "Server ****** is not blacklisted" means in curl verbose output?
Why should the server be blacklisted ?
By curl or another program ?
How server can get blacklisted ?
Is it server or program dependant ?
Is this the IP address that get blacklisted, or the name of the server in the http answer ?
PS : I don't know…

julienfr112
- 209
- 2
- 7
9
votes
1 answer
Root cause of "curl: (56) SSL read: errno -5961" errors
I was evaluating some SSL failures, and noticed that when I use curl to one of the failing sites, I got curl: (56) SSL read: errno -5961; however, my google queries for that error didn't show the reason for the openssl failure.
Question:
What does…

Mike Pennington
- 8,305
- 9
- 44
- 87
9
votes
5 answers
cURL or SSL problems, how to solve?
I keep getting this error:
No cURL data returned for https://XXX.XXXX.XXX:XXXX [0] SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
I am not sure, or…
deadman
8
votes
4 answers
How to disable keepalive in curl
I'm trying to figure out how to consistently turn off keepalive across various client machines which are issuing HTTP requests via curl.
This is my target server:
- Ubuntu 18.04.2 LTS
- 4.15.0-47-generic
- HA-Proxy version 1.8.19-1ppa1~bionic…

cherouvim
- 794
- 3
- 21
- 37
8
votes
1 answer
Adding a self-signed cert to the trusted certs within cURL in Windows?
I have created a self-signed cert from the instructions on this page, have installed it and it appears to all be working correctly, but now I need cURL to trust it.
Since the later versions of cURL don't include a trusted list within a .pem file, I…

Brett
- 319
- 1
- 3
- 12
8
votes
3 answers
CentOS PHP cURL NSS error 5938
Having a strange issue with cURL and PHP on a couple of CentOS boxes.
Locally, I'm running CentOS 6.3. Remote is CentOS 5.9
Locally, the box receives a request, scp's a file to the remote server, then performs a cURL request via PHP to the remote…

stormdrain
- 1,439
- 7
- 28
- 52
8
votes
4 answers
How to change libcurl SSL backend from gnutls to openssl on Ubuntu server
I am getting gnutls specific errors in my Tornado webserver while processing Google OpenID SSL responses. One of the suggestions I got from Tornado mailing list is to try OpenSSL backend instead of gnutls. But it doesn't seem to be straightforward…

Jayesh
- 337
- 1
- 4
- 12
8
votes
1 answer
Using curl to make a HEAD request with a hard timeout
I'd like to use curl to send a HTTP HEAD request to a URL to verify that it is working correctly (server is up and sends a successful response). At the end, I need the final HTTP response code returned and URL (after following any redirects).…

jrdioko
- 567
- 5
- 9
- 18