cURL is an HTTP client library and command line tool.
Questions tagged [curl]
646 questions
4
votes
1 answer
Install Composer on Ubuntu
I am trying to install composer with the command:
sudo curl -s https://getcomposer.org/installer | php
And I am getting this error:
All settings correct for using Composer
Downloading...
Download failed: failed to open stream: Permission…

Milos
- 43
- 1
- 3
4
votes
2 answers
Curl with SSL not working on ubuntu server
When I try to Curl a SSL page on my ubuntu 12.04 TLS server, it won't work:
not ssl page:
$ curl https://evernote.com/ -vv
[the entire webpage]
ssl page:
$ curl https://evernote.com/ -vv
* About to connect() to evernote.com port 443 (#0)
* Trying…

askmike
- 43
- 1
- 2
- 5
4
votes
1 answer
Problems restarting Apache - Curl related
I'm having a problem compiling LAMP, I have everything compiled and working, but when I try to restart apache I get the following error:
seg fault or similar nasty error detected in the parent process
And restart of apache aborts, I know is…

Pablo
- 51
- 1
4
votes
1 answer
Trying to install pecl Solr extension but it needs curl
When I try to install solr-beta:
pecl install solr-beta
I get this error:
pecl/solr requires PHP extension "curl"
No valid packages found
install failed
The thing is curl is already installed and it seems to be enable when I look at my phpinfo page.

jnbdz
- 927
- 5
- 24
- 46
4
votes
0 answers
How do I enable ciphers for NSS?
I am trying to use curl built with NSS (not built with OpenSSL) on Fedora 14 to connect to a webpage over https. The server to which I am connecting (example.com) uses the RC4-SHA cipher for its SSL. Whenever I try to connect to example.com, I get…

Cody
- 41
- 1
- 2
4
votes
1 answer
nginx loggin $request_body produces weird encoding
I have an nginx server that logs POST $request_body to a file. When I post json to the server, it replaces quotes (") with \x22.
My config looks like this
server {
server_name myServer;
listen 8180;
log_format logMyServer…

Braithwaite Patrick Sean
- 51
- 1
- 3
4
votes
2 answers
Retrieve FTP directory tree from the command line
What would be the fastest way to recursively retrieve entire directory listing from an ftp server using wget/curl/whatever? I don't need to download any files, just directory and file names. Basically what ls -R does.

user187291
- 141
- 1
- 2
4
votes
5 answers
Curl development headers with SSL support for Phusion Passenger 3
I'm trying to install phusion passenger nginx module, but it fails
# passenger-install-nginx-module
* Curl development headers with SSL support... not found
...
yum install curl-devel
Setting up Install Process
Package…

NARKOZ
- 998
- 3
- 15
- 23
4
votes
1 answer
curl FTPS with client certificate to a vsftpd
I'd like to authenticate FTP clients either via username+password or a client certificate. Only FTPS is allowed.
User/password works, but while testing with curl (I don't have another option) and a client certificate, I need to pass a user. Isn't it…

weeheavy
- 4,089
- 1
- 28
- 41
4
votes
0 answers
ngnix php curl old SSL session ID is stale, removing
I am making a php curl request from nginx server to apache server
It shows old SSL session ID is stale, removing
As per the link I have changed the SSLSessionCacheTimeout in bitnami apache server but still the error occurs. I have changed…

DroidDev
- 141
- 1
- 3
4
votes
1 answer
How to diagnose "CA certificate too weak" error, how to use the CA cert anyway?
I have to use a service that uses self-signed certificate (from Ubuntu). I have added the company's CA to the trusted list (Ubuntu). After that "self signed certificate in chain" error is gone but now I get "CA certificate too weak" error. E.g.
curl…

Petr Gladkikh
- 183
- 1
- 1
- 9
4
votes
2 answers
How do I install a PFX certificate file into Ubuntu so Curl trusts it?
I'm running Ubuntu 18.04 on Windows Subsystem for Linux 2. I am making a curl request to a web service running on the Windows side using a self-signed certificate. I receive this error:
curl: (60) SSL certificate problem: unable to get local issuer…

Luke Puplett
- 939
- 3
- 16
- 24
3
votes
1 answer
cURL specify outbound IP - Windows
I have configured my Windows AWS instance to use two IP addresses and would like to be able to choose which of these two IPs are used for a HTTP GET request using curl (pycurl).
I want it to appear to the server-side that there are two separate…

Huw Thomas
- 141
- 1
- 4
3
votes
3 answers
nginx block curl and wget
I have nginx webserver.
I have a rich content site and i found that some malicious bots are trying to crawl my content. I blocked any curl or wget coming to my site like this
if ($http_user_agent ~* (curl|wget)) { return 301…

Alaa Alomari
- 638
- 6
- 19
- 37
3
votes
1 answer
cURL error 60: Peer’s Certificate issuer is not recognized
I have a store build in wordpres which offers wordpress templates and it has an updater system.
My server is centos 6.9 and Im using virtualmin.
Comodo SSL and php7 but the people when try to update their themes they get the messagge Download…

Gazi
- 133
- 1
- 2
- 7