cURL is an HTTP client library and command line tool.

learn more… | top users | synonyms

0
votes
0answers
8 views

HTTPS tomcat 7 working only with curl not in browser

I have added in server.xml: <Connector port="8081" protocol="HTTP/1.1" SSLEnabled="true" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" ...
0
votes
1answer
23 views

Geotrust SSL certification issue

I have an issue with curl (Centos 6 env) does not recognize Geotrust intermediary certificate: * Trying 192.168.6.6... connected * Connected to composer.graymatter.co.uk (192.168.6.6) port 443 (#0) ...
0
votes
1answer
20 views

404 header error instead of the correct 200

I have just updated a (dynamic) website by sftp/ssh and all the new pages have been considered as 404 error not found. Actually, all the pages, including the old pages which was overwritten. Also, ...
0
votes
1answer
17 views

Is there a default CAfile/CApath location for solaris openssl and curl?

I have already tried several locations and neither openssl nor curl recognize the certificate file I have placed there. I have tried these paths: /etc/certs /etc/sfw/openssl/certs /etc/ssl/certs ...
0
votes
0answers
7 views

Install old Ubuntu Vivid Curl (7.38.0) on Ubuntu Wily

How do I install Curl binaries version 7.38.0 (from Ubuntu Vivid 15.04) onto Ubuntu Wily 15.10? My goal is to make sure curl is using openssl, not gnutls. This is what I want: ...
0
votes
2answers
84 views

Unable to install CURL on Docker Ubuntu image

I'm trying to install curl on ubuntu 14.04 in Docker image and the simple: sudo apt-get update sudo apt-get install curl will never work with the following output. It seems that curl installation is ...
1
vote
1answer
27 views

HTTP Header's not matching

Is there a difference between what headers php returns and what is set in nginx? When I run: curl -I mydomain.com I get as expected (I have keep-alive off) Connection: close But when I output ...
-1
votes
1answer
27 views

Why does host+curl take longer than host alone and curl alone?

I asked this on networkengineering.se, and they suggested I move it here. I tried to test the speed of my website, so I used time curl "http://google.com" The result ended with real 0m15.589s ...
0
votes
0answers
22 views

Manual autodiscover implementation failing. Why?

I am managing a mail server, and would like to have my Outlook users be able to automatically set up their mail server information. Normally this is done with an autodiscover file. Here's how I ...
0
votes
1answer
37 views

Why is nginx giving 200 OK response , even though domain is not hosted on my server ? and how can i fix it?

i have hosted example.com on nginx web server at ip 123.123.123.123 and if i use curl with host headers like this from remote machine curl -v -H "Host: example.com" 123.123.123.123/ i get curl -v ...
1
vote
0answers
115 views

curl: (1) Protocol “https” not supported or disabled in libcurl

I've a CentOS6 vps on which O trying to access https url through curl it gives not supported error # curl https://google.com curl: (1) Protocol "https" not supported or disabled in libcurl Anyone ...
0
votes
0answers
23 views

Unable to access internet through amazon ec2 instance

I have instance running on Amazon EC2.Basically i am accessing my Amazon EC2 instance through VPN using Vagrant openconnect https://github.com/ericmann/openconnect-vm . I am able to ssh into instance ...
0
votes
0answers
95 views

curl: (60) SSL certificate : unable to get local issuer certificate

When I try curl -Iv https://yahoo.com I get an error as unable to get local issuer certificate in the result. However if I try curl -Iv --cacert /etc/ssl/certs/ca-certificates.crt https://yahoo.com I ...
1
vote
1answer
270 views

Upgrade curl to latest on CentOS 7

I need to upgrade cURL on my VPS running CentOS 7. I'm gettings errors as: cURL Error(35): Cannot communicate securely with peer: no common encryption algorithm(s) I've used the answer given here ...
0
votes
0answers
18 views

HEROKU php-buildpack but upgrade cURL and LibSSH2 to support SFTP

Im trying to enable my php app to use cURL to do SFTP via a proxy. phpseclib is not an option as it dosn't support proxies for SFTP. I'm using the ddollar/heroku-buildpack-multi to try and "upgrade" ...
0
votes
1answer
35 views

Troubleshooting connectivity when curl returns 'empty reply' from a server on my computer only

For whatever reason, my computer (Mac OS X 10.11.1) cannot fetch a webpage from a website using curl when it works fine on other computers. Also ping works but curl doesn't: $ ping ...
1
vote
0answers
72 views

curl (7) a failed connection in docker

I'm using docker on ubuntu. cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=14.04 DISTRIB_CODENAME=trusty DISTRIB_DESCRIPTION="Ubuntu 14.04.3 LTS" I have this container: CONTAINER ID ...
0
votes
0answers
72 views

How to compile php and curl-extension with custom version libcurl?

I want compile php-5.6.15 with custom version of libcurl. Why? There was a bug with curl which makes some https requests failed. My distro's repositories contains just version with bug. So I guess I ...
1
vote
1answer
62 views

tcp retransmit via curl and netcat

I'm trying to setup iptables to cause realistic network failures between docker containers. On the server, I run both netcat -lk 1234 and an Erlang cowboy server. On the client I run clients: echo ...
0
votes
0answers
100 views

SSL with cURL vs. sudo cURL, wget, openssl

When using cURL as root, everything works fine: $ sudo curl -vvv https://test.example.org/ > /dev/null * Connected to test.example.org (1.2.3.4) port 443 (#0) * Initializing NSS with certpath: ...
0
votes
0answers
64 views

Curl Error Connection timed out

I have a website (www.example.com | 123.456.789), in that machine i only have 1 web app running. i am trying to use php file_get_content() to a file which in my own server (located on some file like ...
0
votes
0answers
52 views

Installing an intermediate cert on Debian 8 for curl/openssl connections.

I am trying to contact a url via php's stream_socket_client() command which is failing with no error code or msg. Does this use openssl, curl or something else? The site uses https and works fine from ...
1
vote
0answers
37 views

Curl hangs over 2599 bytes response for specific host, where could I investigate?

I have one server that curls other servers for somepage.php, is does it with over 8 servers now, but the curl doesn't work on only one of them, it simply hangs. Investigating it further, I noticed ...
1
vote
0answers
86 views

Apache timeouts and TCP retransmission

The documentation for the timeout directive in apache states that: When writing data to the client, the length of time to wait for an acknowledgement of a packet if the send buffer is full. But ...
0
votes
0answers
77 views

Amazon S3 upload error: An exception occurred while uploading parts to a multipart upload

I am trying to upload a 30 GB file to Amazon S3 using the AWS PHP SDK. require('../vendor/autoload.php'); $client = new Aws\S3\S3Client([ 'version' => 'latest', 'region' => 'us-east-1' ]); ...
3
votes
1answer
222 views

why is curl to https not working

I can do the following without any problems: curl -u "username:password" http://www.example.com/exportfile.xml But if I try to use the same command to the https version of our site it fails curl ...
0
votes
1answer
89 views

Download an SSL certificate from a remote website through a proxy

I want a script checking my server's certificate. There are very good answers around here how to get this with openssl s_client or gnutls-cli, which works fine.... but NOT if you are behind a proxy! ...
1
vote
1answer
64 views

Which Ubuntu package has the CA for debian.neo4j.org (godaddy)?

The neo4j site shows that you should get their certificate using wget -q -O - http://debian.neo4j.org/neotechnology.gpg.key This, of course, could allow their certificate to be hacked. So, I ...
2
votes
0answers
66 views

Building curl, httpd and others with custom openssl build, while avoiding default system openssl

I've been trying to upgrade some programs on an old Linux box (Debian 7.5 wheezy). I'd like to keep default system libs untouched and to add some custom builds alongside them. It works fine for most ...
0
votes
0answers
41 views

Server becomes unresponsive while under load

We have a server setup containing 2 webservers, a RDS MySQL cluster and a loadbalancer, on AWS. The webservers are running PHP and Nginx, and contains multiple services each. We have a service ...
1
vote
0answers
438 views

Import a P12 certificate into a NSS database (with an alias)

Here´s the deal... I have a personal P12 certificate generated by a certificate authority. I want to use it with CURL to access a protected URL. If CURL on CENTOS was compiled with openssl, I should ...
-2
votes
3answers
124 views

Is there a GUI tool to log and view outgoing CURL requests from a Linux server? [duplicate]

I've seen several similar questions - but none that truly answer the question. So here goes: PROBLEM: A script is being run on one of our servers that is making outgoing post (and other) requests ...
0
votes
1answer
85 views

APT-GET behind a proxy with Digest Authentication

I'd like to use apt-get (and other ubuntu tools) to download software and keep it updated. Unfortunately, my company has set a squid proxy to accept digest authentication only. I've seen somewhere ...
1
vote
1answer
544 views

Curl returning error 52 or 56 with REST API call spanning more than 5 minutes

So I have been trying to figure this one out for about a week now. Here is the run down: I use CURL in PHP to pull data from an API. As the response to the API call gets bigger (pulling over 15k ...
0
votes
1answer
621 views

Curl, lynx etc not accepting certificate locally but OK remotely

When I connect to my web server to view a site over HTTPS, I get the nice green EV thing in the address bar. When I use curl locally to connect, it complains about the certificate and dies. I'm aware ...
0
votes
0answers
139 views

cURL to my own server crashes apache server

I'm running a apache web sever on Ubuntu 14.04 LTS. I found myself in a situation where I from a php script on one server requested data from another php script on a second server. Both servers are ...
0
votes
1answer
818 views

Why I cannot connect to my website in HTTP using curl?

I have a web site @ www.eshipp.com, all the domain is secured by SSL so any HTTP traffic is redirected by NGINX to HTTPS equivalent URL. However it seems that some users are not redirected and then ...
-5
votes
1answer
71 views

Is there a way to get curl output into a file? [closed]

Here is the script on the Linux: if [ -s $WORK_DIR/newerfile ] then curl -k -T $WORK_DIR/newerfile -u username:password ftpssl.example.bank/inbound fi I want to get the results of the curl ...
0
votes
1answer
636 views

Fedora 22 DNF timeout

I just installad Fedora 22 and DNF (yum's replacement) is performing terrible. 9 out of 10 request fails out of timeout, with random effect specifying IPv4 or not. The problem seems to be that DNF ...
0
votes
1answer
81 views

Getting can't resolve host when curling dependencies in systemd

I'm using CoreOS with cloud-init and I'm trying to curl for flannel. I have a unit file as such: [Unit] Description=Run flannel Documentation=https://github.com/coreos/flannel Requires=etcd2.service ...
0
votes
0answers
216 views

nslookup is OK, but curl says Couldn't resolve host

curl -L https://github.com/docker/compose/releases/download/1.3.1/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose % Total % Received % Xferd Average Speed Time Time ...
2
votes
1answer
94 views

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 ...
3
votes
1answer
4k views

Add SSL certificate after curl error: “unable to get local issuer certificate”

I'm trying to access a partners SOAP API, for that goal I made a CSR and received a CRT. I've made a PEM file with my key and the CRT: cat mycert.crt mykey.key > mycertandkey.pem When I try to ...
-1
votes
1answer
374 views

yum does not contain the package: libcurl [closed]

I am in Redhat 5 and the following packages are not found yum -y install libcurl libcurl-devel Loaded plugins: security Setting up Install Process No package libcurl available. No package ...
0
votes
1answer
6k views

“curl: (7) couldn't connect to host” only on www. subdomain [closed]

I'm running a server with Centos 6 and Plesk 11. I have curl installed and working on all domains except on a domain that has a www. as preferred domain. [root@www]# curl ...
3
votes
0answers
743 views

CURL PHP can't resolve host [closed]

I'm trying a php script that is doing requests with CURL. But I get the error Couldn't resolve host 'example.com' $ch = curl_init(); curl_setopt($ch, CURLOPT_HEADER , true); curl_setopt($ch, ...
0
votes
1answer
70 views

Troubleshooting Curl Timeouts

I run a SaaS monitoring service. Our standard integration example is to make a curl request to a special URL we provide. We have an intermittent issue where a user is hitting a 10 second curl timeout ...
0
votes
1answer
627 views

Using curl with cookies

I hope someone can help me out on this one. I have been trying this for a while now, with all sorts of variations and cannot seem to get this to work. I am trying to script a way to log in to ...
1
vote
3answers
2k views

Does CURL cache requests?

This is a pretty long question, so bear with me. I wanted to stress my Akamai Server logged in from an AWS instance. So, I started running ab benchmark. However, they seemed ridiculously fast to ...
-2
votes
1answer
750 views

Compile curl with openssl

I'm trying to compile curl with openssl support and though I've tried for hours I still cannot figure out what I'm doing wrong. Here's what I did: compile openssl like this: cd ...