Questions tagged [curl]

cURL is an HTTP client library and command line tool.

646 questions
2
votes
1 answer

Can't install WWW:Curl on new Ubuntu 16.04 server

I'm trying to work out why I can't install WWW::Curl on my new server. I've done: apt-get install libcurl4-openssl-dev ...and then: cpanm WWW::Curl I then get an error after a while. The log looks like: cpanm (App::cpanminus) 1.7040 on perl 5.022001…
Andrew Newby
  • 1,102
  • 2
  • 25
  • 58
2
votes
1 answer

PHP CURL not sending/receiving any data - undefined symbol: PR_GetEnvSecure

Curl has stopped working for me. I ran some updates on my AWS EC2 server yesterday so I have a feeling that is the cause but I can't figure it out. I am mainly using Curl to add people to various mailchimp lists. None of these scripts are working…
Danny Browne
  • 163
  • 2
  • 8
2
votes
1 answer

curl is unable to get local issuer certificate

I'm using Let's Encrypt certificate and even though when I'm accessing server with a browser, browser reports page is being "secure", however I'm getting following when I use curl instead. # curl https://X.X.X curl: (60) SSL certificate problem:…
alexus
  • 13,112
  • 32
  • 117
  • 174
2
votes
1 answer

Configure: error: Curl library not found on centos 7

I want to install zabbix 2.4.5, but when I type: ./configure --enable-server --enable-agent --with-mysql --enable-ipv6 --with-net-snmp --with-libcurl --with-libxml2 I get some problem: Configure: error: Curl library not found [root@pc-bello…
Bello
  • 21
  • 1
  • 2
2
votes
1 answer

curl not using cert from /etc/ssl/certs/ca-certificate.crt

When I try following curl devendermishra@myhost:~$ curl https://iam.endpoint.com curl: (60) SSL certificate problem: self signed certificate More details here: http://curl.haxx.se/docs/sslcerts.html curl performs SSL certificate verification by…
doptimusprime
  • 131
  • 1
  • 1
  • 6
2
votes
1 answer

Why is curl requests from terminal always gives X-Cache-Status: MISS

I have set up nginx reverse proxy and added caching to it using nginx caching. I can verify whether the requested copy is cached or not using added header. add_header X-Cache-Status $upstream_cache_status; i have set to cache page if its get…
user138870
2
votes
1 answer

Unable to establish SSL connection with wget

I am trying to execute : wget https://app.adroll.com/api/v1/export/all_campaigns_report?advertisable=T4ZPAGYESJEZZMCCBVEMHK&reports=AllCampaignsSummary,AllCampaignsChart,AllAds,AllCampaignsSites&format=csv¤cy=USD I replaced wget 1.12 with…
gags
  • 33
  • 1
  • 1
  • 6
2
votes
1 answer

How to build curl for TLSv1.2 support?

I am trying to build curl on my RHEL 6.x box as the existing version does not support TLSv1.2. However, no matter what option I select, it always ends up with the following error : configure: WARNING: SSL disabled, you will not be able to use…
souser
  • 197
  • 2
  • 3
  • 10
2
votes
1 answer

php cURL not working

The php cURL extension on the Apache server I've inherited from my predecessor doesn't work. I'm using the following code: $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'https://www.linkedin.com/nhome/'); curl_setopt($ch,…
TimothyBuktu
  • 143
  • 1
  • 2
  • 7
2
votes
3 answers

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 before: Upgrade curl to latest on CentOS 6.3 But the…
Peps
  • 23
  • 1
  • 1
  • 7
2
votes
1 answer

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 blah | netcat myserver 1234 curl…
darnok
  • 21
  • 2
2
votes
0 answers

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 if the TCP stack does not receive and ACK, it will…
Bryan Solan
  • 167
  • 9
2
votes
1 answer

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! Doh! I did not found a possibility to tell these…
avh
  • 41
  • 1
  • 3
2
votes
0 answers

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 only convert it to PEM format and provide that…
smashing
  • 143
  • 1
  • 6
2
votes
1 answer

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 (can't find the link again) that APT-GET uses WGET,…
Victor Ribeiro
  • 161
  • 1
  • 6