cURL is an HTTP client library and command line tool.
Questions tagged [curl]
646 questions
2
votes
1 answer
Sniff outgoing traffic on my server on a SSL channel
Im executing a CURL command on a php application running on my nginx server (centOS). The end point is a https address so the outgoing traffic is of course encrypted.
I want to see the network packets that are actually getting send to the end point …

DomingoSL
- 365
- 1
- 4
- 13
2
votes
0 answers
CURL & SSL failing on a specific site
I can't get curl to download https://www.sicdm.caixa.gov.br/cadmut/login_internet_form.do on a CentOS 6.2 server.
The command curl -v -k -3 https://www.sicdm.caixa.gov.br/cadmut/login_internet_form.do yields:
* About to connect() to…

Wagner
- 21
- 1
- 2
2
votes
1 answer
How to check SSL connectivity between certificates installed on two different server
Suppose there are two organizations which share information with each other. Every organization installs SSL certificate in their application server and provides the same certificate to other organization to communicate properly using SSL. If both…

shinek
- 121
- 2
2
votes
1 answer
Can't access domain internally via public IP address
I have a dedicated server running Proxmox and a VM inside Proxmox running Debian 7 (Wheezy).
As I only have one IP address, I'm using iptables to forward ports to the VM.
My /etc/network/interfaces:
# The loopback network interface
auto lo
iface lo…

Ben Fortune
- 125
- 8
2
votes
3 answers
HTTP POST request using Curl: why nothing works?
I want to submit a form of with the following information:
I try to make such request…

andy_ttse
- 23
- 1
- 3
2
votes
2 answers
Does exist a curl equivalent command in routeros?
Just starting with routeros and after searching the official docs just fetch appears
I need to do a POST request to REST API but I cannot find any curl like command. Is it possible to install curl somehow?

Jaime Agudo
- 163
- 1
- 7
2
votes
1 answer
ShellShock test shows wget and curl access
I've fixed shellshock bug on my Debian 6 server and while testing on http://shellshock.brandonpotter.com/ I get "No Vulnerabilities Found" and that's OK but they also check other things and in the test log I get:
URL mydomain.net (Root URL) (Header…

Odin
- 23
- 3
2
votes
1 answer
Cannot curl from the same server when it has PREROUTING ip forwarding
I have a Ubuntu web server that uses iptables PREROUTING to forward port 80 to 8000.
So the web process listens on port 8000. Now I want to make a curl from the same server to a web application running on it. But this issues a Connection refused:
$…

Gabriel Petrovay
- 248
- 3
- 12
2
votes
1 answer
Issues with the SSL versions used by Curl and Python SSL lib
TL;DR
I'm trying to reach an URI which only takes SSLv3. If I try to access it with curl or Python requests (which uses the ssl module) it doesn't work (different errors).
Some longer explanation
There's this API who has this URI:…

santiago.basulto
- 598
- 2
- 8
- 16
2
votes
1 answer
Is it necessary to validate the file integrity when curl succeeded
I have a bunch of files on S3, and I need to download and update them via command line (BASH) on several devices.
What I do (as of now):
Request the header of the file with -I and extract the ETag field
Check md5sum of local file
If they don't…

Benjamin
- 191
- 1
- 1
- 5
2
votes
2 answers
PHP - does curl run asynchroniously on my system?
I'm building a web app. I have a database of books indexed in ElasticSearch and REST API written in PHP.
In the app, there's a search box, where I type a name of the book and JS script calls the search request which than runs a curl request with…

Michal Artazov
- 175
- 2
- 7
2
votes
1 answer
How to pipe differently the body of the curl answer and the printed output?
I would like to print in the command line some output of curl, like the http headers, followed by the body of the answer processed by a stdin/stdout program. For instance:
Print the status code:
curl -s -w "%{http_code} \\n" -o "/dev/null"…

Antoine Lizée
- 155
- 1
- 2
- 6
2
votes
2 answers
windows php curl install : recommend a good site?
So I'm struggling to get php curl installed on my windows xp professional machine and I've probably tried 5 different sites which either dont' work or refers to missing file references like the ca certificates and such.
I'm looking to write a php…

phill
- 327
- 3
- 13
- 20
2
votes
1 answer
Curl fail to retrieve HTTPS content
i've an issue on my production server running on Debian 6 (apt-get update;apt-get upgrade done with success).
When I call an HTTPS (StartSSL) server I got an error message on Debian 6 :
#> curl --version
curl 7.21.0 (x86_64-pc-linux-gnu)…

0xBAADF00D
- 213
- 3
- 7
2
votes
2 answers
CURL in PHP chroot'ed environment
How can I find out what files or sockets are needed by Curl when running in a chroot'ed PHP environment on Mac OSX?
I recently secured my website by chrooting PHP but now every call to Amazon S3 through it's API is failing, with the error…

Danack
- 1,216
- 1
- 16
- 27