a command-line tool for transferring data using various protocols.

learn more… | top users | synonyms

4
votes
2answers
6k views

/etc/pki/tls/certs/ca-bundle.crt not found

I am using curl -L https://get.rvm.io | bash -s stable to install RVM. I get an error saying CAfile: /etc/pki/tls/certs/ca-bundle.crt CApath: none I searched a bit on the Internet and found that ...
7
votes
2answers
6k views

12.04.4 server can't verify common SSL certificates, usual fixes failing

The Problem I've got one server in a farm which is suddenly unable to correctly handle SSL certificates. Attempting to do a curl command like curl -v https://google.com results in: curl -v ...
0
votes
1answer
14 views

is php5-curl what I want?

I have an NGINX web-server, with php-fpm. I would like to install curl, but I’m not sure that php5-curl is the right package for my server. Should I be concerned? is there a more appropriate package? ...
0
votes
0answers
20 views

authentication with given CA certificates

I am using the following script to download some data from esa website. I always receive an error. the code and error are provided below: library(httr) library(RCurl) library(XML) zip.dir <- ...
0
votes
0answers
27 views

Error when trying to install PHP curl - Ubuntu 14.10

When I try to run sudo apt-get install php5-curl I get an error php5-curl : Depends: php5-common (= 5.5.9+dfsg-1ubuntu4.14) but 5.5.12+dfsg-2ubuntu4.6 is to be installed What does this mean and ...
2
votes
1answer
2k views

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

I'm trying to install a framework using curl but I keep getting this annoying error message curl: (1) Protocol https not supported or disabled in libcurl. Does any one know how to fix this? I'm stack! ...
0
votes
0answers
28 views

Use cURL to download file through multiple ips

I'm new to Linux (I use Ubuntu). We have download speed restrictions per local IP (250 kbps), however our ISP offers 150mbps bandwidth. I have assigned multiple local IPs to my NIC. My goals are: ...
1
vote
2answers
232 views

Cannot install curl-config in Ubuntu 12.04

When trying to install the R package RCurl I get the following error: checking for curl-config... no Cannot find curl-config ERROR: configuration failed for package ‘RCurl’ Yet, curl-config exists ...
10
votes
6answers
36k views

How to verify the SSL fingerprint by command line? (wget, curl, …)

Using a command line website downloader, such as wget, curl or any other one... In a script... I have the SHA-1 and the SHA-256 certficate fingerprint of a website. Due to security concerns (1) (2), ...
29
votes
2answers
65k views

Installing curl.h library

Could you help me install curl.h library?
0
votes
1answer
808 views

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

Edit: I had updated my root CA certificates from curl.haxx.se . 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 ...
0
votes
0answers
16 views

Easiest way to automate this process?

I need to find a way to automate this process from my VPS. I want to be able to create a script which signs into a website using set POST data (straight forward) but then, visits another page after ...
3
votes
2answers
26 views

Why curl/libcurl doesn't support sftp?

I just discovered this bitter truth: my curl doesn't support sftp. ~ curl --version curl 7.43.0 (x86_64-pc-linux-gnu) libcurl/7.43.0 GnuTLS/3.3.15 zlib/1.2.8 libidn/1.28 librtmp/2.3 Protocols: dict ...
1
vote
1answer
82 views

Unable to update Node JS - keeps returning to old version [Ubuntu 15.04]

I'm unable to update nodejs, and I can't see why. If I were to make a guess, I'd say that I have two repositories listed in apt-get, that both contain a nodejs package. Here's what I've done: ...
5
votes
2answers
355 views

Bash script — store `curl` output in variable, then format against string in variable

I was hoping to curl data into a shell script variable, then use cat or awk to operate on that variable as if it was a file. Is this possible, or is there a workaround? Do I have to save the curl ...
0
votes
2answers
38 views

`curl` outputs random characters

If I run: curl http://files.unity3d.com/levi/unity-editor-5.2.2f1+20151018_amd64.deb It continuously outputs random characters, then the program completes. I tried reinstalling it, but to no ...
0
votes
0answers
24 views

A mystic curl error on Ubuntu

I do have a mystic error: CMake Error : downloading '' failed status_code: 1 status_string: "Unsupported protocol" log: Protocol "https" not supported or disabled in libcurl Closing ...
0
votes
0answers
24 views

Retrieve site that uses cookies on virtual-console/tty

I want to have a handy function in my .bashrc that prints some weather information on virtual-console/tty instead of using an out-of-the-box applet. The hints from Weather from Terminal doesn't work ...
1
vote
1answer
86 views

.What to do when Ubuntu 14.04 LTS curl doesn't support a CA certificate, even though it's valid

On Ubuntu 14.04, I'm trying to do this curl https://api.the-newshub.com/api/1/topics/trending/top. It's not working but it does work when you visit using Firefox. I've updated the certificates: sudo ...
4
votes
4answers
12k views

How to build curl with the latest openssl?

So I build openssl ./config make sudo make install sudo ln -sf /usr/local/ssl/bin/openssl `which openssl` I build curl ./configure --with-ssl make make install OpenSSL looks installed ...
1
vote
0answers
62 views

Install readr in R and met dirty dependency tree

My Ubuntu and R versions: alvas@ubi:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.2 LTS Release: 14.04 Codename: trusty alvas@ubi:~$ R > ...
2
votes
1answer
168 views

Unknown SSL protocol error

After upgrade to 15.10 i've got error 35 'Unknown SSL protocol error in connection to ...' when i'm trying to access SSL-secure server using CURL from PHP script (PHP5-fpm). Before the upgrade all ...
1
vote
1answer
1k views

How to remove http headers from curl response?

How to remove HTTP headers from curl response in bash? I am getting this header values on every response how can I remove them? or not receive them? HTTP/1.1 200 OK Vary: Accept-Encoding ...
0
votes
0answers
122 views

install multiarch -dev package - apt does not resolve dependencies

I want to build third party software that uses the mcrypt and curl libraries. I have an armhf system and an x86_64 system, both Ubuntu 15.04. On the target I can do user@armhf:~$ sudo apt-get install ...
2
votes
1answer
130 views

wget, curl HTTP addresses fail, HTTPS work, ping works [closed]

I am running Ubuntu Server 14.04.2, and I can't communicate with external http addresses anymore. I can ping google.com, I can wget https://google.com, but I can't wget http://google.com. $ wget ...
6
votes
1answer
25k views

How to make Curl and PHP available when installed from Xampp

I have installed a recent copy of XAMPP on Ubuntu 14.04. However, when I issue this command: curl -sS https://getcomposer.org/installer | php I get the following error messages: The program ...
0
votes
0answers
627 views

curl: (7) Failed to connect to SERVER port 80: No route to host

Please help me to understand. I am currently try to set-up Parsoid with this guide. It is needed for the MediaWiki extension Visual Editor. After the installation of the Ubuntu repositories I ...
0
votes
0answers
32 views

virsh/libcurl doesn't reference imported Root CA certificate

I'm running Ubuntu Server 14.04 and I'm trying to connect to an ESXi host that has a signed certificate signed by my internal CA. Here is the error message seen when connecting: root@ubuntu:~# virsh ...
0
votes
0answers
87 views

How can I download a private bitbucket repo using curl or wget?

I have an account on Bitbucket, I want to download a private repo but I'm not using client like web Browser but using terminal clients like 'curl' and or 'wget'. I want to download a private bitbucket ...
0
votes
0answers
40 views

Ubuntu 14.04 cannot browse, wget and curl https sites. Http works fine

Ubuntu 14.04 cannot browse, wget and curl https sites. Http works fine. What is the problem here? curl http://cisco.internect.net/weather.php Enter your Postcode eg: Canberra: 2600, Sydney: 2000 ...
0
votes
2answers
186 views

How to upgrade/install newest version of nodejs on Ubuntu 14.04

I have been working an hour for this. Taken from their official documentation : curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash - sudo apt-get install -y nodejs However, its never ...
1
vote
1answer
195 views

wget and cURL not working with bash script

I am trying to download an images off a website and have tried: curl -o img.jpg (URL) wget (URL) -O img.jpg wget --save-headers -U "Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.17 (KHTML, ...
0
votes
1answer
96 views

POST request using python-maas-client

We can use python-maas-client for accessing the maas API. I need to know the way of performing the post request towards maas using the python-maas-client. Here it is important links: Link for MAAS ...
0
votes
3answers
444 views

how to query maas API with curl

I am trying to figure out how to query the MAAS server using curl. I am starting to experiment with CLI query so that I may build a python script for remote command and query without having to use ...
1
vote
0answers
65 views

Laravel CLI cUrl Error on Ubuntu 14.04.3 LTS

I have already installed the nginx, MySQL, HHVM and Composer, everything is working, so I installed the Laravel CLI to run laravel new blog from the terminal but when I run it i get this error: ...
0
votes
2answers
5k views

Downgrading PHP from 5.5 to 5.3 on Ubuntu 14.04

now, I know that this question has been asked tons of times over the internet, but I followed lots of tutorials on the argument without being able to get to the answer. This is my situation: Ubuntu ...
5
votes
3answers
7k views

How to enable SFTP Support in cURL?

I have installed curl-7.27.0 and it is working fine how ever it is not working is run below command to find whether it is now, but it showed that : Result of the command curl -V ...
22
votes
4answers
3k views

What is the difference between curl and wget? [closed]

Both of these curl and wget are use for downloading files, etc. Is there any reason to use one over the other?
0
votes
0answers
21 views

Curl loaded configuration

Im trying to install curl loader and use it but would like to know how its being used. http://lost-and-found-narihiro.blogspot.com/2014/09/http-traffic-generator-install-curl.html I installed ...
1
vote
1answer
440 views

pycurl.error: (35, 'gnutls_handshake() failed: Handshake failed')

On trying to download from a https:// URL with PycURL 'PycURL/7.19.3 libcurl/7.35.0 GnuTLS/2.12.23 zlib/1.2.8 libidn/1.28 librtmp/2.3' in Python 2.7 on Ubuntu 14.04.2, I receive pycurl.error: (35, ...
0
votes
2answers
47 views

Extracting latest googleAppEngine with curl + awk

I am trying to extract the latest version of google app engine from their catalog. To do this I am using curl + awk. I found that the following regex extracts what I need: ...
5
votes
1answer
376 views

What is the difference between libcurl3 and libcurl4

I was setting up an Ubuntu 14.04 development environment and went to install libcurl but noticed that there are two different version in my aptitude caches. What are the main differences between the ...
0
votes
1answer
179 views

Can't install curl on Ubuntu 14.04

I can't install curl on Ubuntu 14.04. sudo apt-get install curl Error: Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be ...
0
votes
0answers
33 views

What does “javascript:;” in the action attribute field mean?

I'm new to html automation and have been reading http://curl.haxx.se/docs/httpscripting.html . The action attribute should tell you where to send the request with your client, but, in case it is ...
0
votes
1answer
280 views

Curl with SSL failing to download with https (DigitalOcean Ubuntu Server 15.04)

Received this error message: curl: (77) error setting certificate verify locations: CAfile: /usr/local/opt/curl-ca-bundle/share/ca-bundle.crt CApath: /etc/ssl/certs ...when trying to install a ...
4
votes
2answers
1k views

send base64 encoded image using curl

I am trying to send a base64 encoded image from the command line using curl and base64 like this: curl -X POST -H "Content-Type: application/json" -d '{"image" : $( base64 ~/Pictures/1.jpg )}' ...
5
votes
1answer
3k views

How to fix CA cert issues with Curl in Ubuntu 14.04?

I am using Ubuntu 14.04. When I use curl, I get the following error: curl: (77) error setting certificate verify locations: CAfile: /etc/pki/tls/certs/ca-bundle.crt CApath: From what I gather from ...
3
votes
2answers
2k views

Is it possible to have multi-thread cURL with Flashgot in Ubuntu?

I have found here that there is a multi-thread version of cURL downloader. How to install it and can it be used with Flashgot? I am not looking for other multi-thread downloaders, I already have ...
0
votes
0answers
170 views

How to install python-dev - without using apt-get - on ubuntu 12?

The question is pretty descriptive as it's noted. I'm at a working environment that I have not much access over. I have wget and curl, but I can't find any resources.
0
votes
1answer
122 views

I need CURL due https support

I'm trying to build APT. However, the configure script crashes saying configure: error: failed: I need CURL due https support How do I enable https for CURL? EDIT: My question is different, ...