Questions tagged [curl]

cURL is an HTTP client library and command line tool.

646 questions
-1
votes
2 answers

how to check if openvpn is active

i am runnning multiple openvpn instances each connected to different servers let's assume there are 3 and i am using a simple php script with this command system('openvpn config1'); system('openvpn config2'); system('openvpn config3'); the config…
stuck
  • 1
  • 1
-1
votes
2 answers

Cannot curl a file host through apache2

I am trying to download a file using curl from a machine running apache2. My site (000-default) configuration looks like this: DocumentRoot /home/user/files/ Options Indexes…
u123
  • 267
  • 1
  • 8
  • 24
-1
votes
1 answer

Iptables blocks outgoing HTTP connection

I've setup IPTables with the following script... however, I cannot get outgoing HTTP queries to work (I've tried using lynx & curl). Background - server is hosted remotely (and I'm connecting via SSH). Your help will be greatly…
Don
  • 11
  • 1
-1
votes
1 answer

Apache strange behaviour:"get" works, but "post" doesn't

Ok. I have a script that was supposed to post data to another web page. I use curl and I can request a page with "get" but not with "post". I wrote a python script that works from CLI. When I try to execute it on the server it works only for other…
Jack
  • 1
-1
votes
1 answer

How can I disable IP forwarding from IPv6 toIPv4

I have IPv4 and ipv6 addresses on my network card, when I send a request with curl I want only the respective IPv4 or IPv6 to be used and no fallback e.g. When IPv6 to IPv4 takes place. curl --interface XXXX: c020: XXXX: e601: XXXX: 596c: XXXX: db97…
-1
votes
1 answer

Can I use libcurl 7.60.0 with CentOS 6.9?

My production server is CentOS 6.9. Is libcurl 7.60.0 compatible for CentOS 6.9? Where can I get more information on this? Thanks. Jessica
-2
votes
1 answer

Centos 7 CURL issuer certificate invalid

Using this CURL syntax bellow curl --header "Content-type: application/json" --request POST --data '{ "userID" : "***", "securityCode":"***", "token":"***" }' https://12.12.12.12:1234/hhh/AAA/bbb Produce this error curl: (60) Issuer certificate is…
Yohanim
  • 157
  • 1
  • 3
  • 10
-2
votes
1 answer

How I can change XML files are handled by Nginx (Debian)

On my server, XML files are handled by Nginx. They should be handled by Apache so that .htaccess file is working I have checked the cURL not working properly When I run the command curl -I https://www.example.com/sitemap.xml curl: (7) Failed to…
maks
  • 1
  • 2
-2
votes
1 answer

Why was apache restart required after updating curl version?

I have a server running PHP using mod_php in Apache. Apache is using the Prefork MPM. I had some SSL errors due to using an old version of CURL. I ran the command 'sudo yum update curl'. It successfully updated curl, but I noticed I was still…
mcs
  • 1
  • 1
-2
votes
3 answers

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

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 that we suspect is using CURL. It is attempting to…
-2
votes
2 answers

How do I pipe the output of the journalctl to cURL?

I am trying to send logs to a remote server using curl. I tried the following command and nothing happened journalctl -o json -f | curl -H "content-type:application/json" -d @- http://logs Any ideas?
user1441287
  • 107
  • 1
-2
votes
1 answer

Unable to acces Nagios from Ec2

I have installed Nagios by following this tutorial here. But when I tried to connect to localhost/nagios3 using curl from console, making sure that Nagios is installed and running(since I'm getting an output stating that authorization required).…
batman
  • 321
  • 1
  • 5
  • 10
-2
votes
1 answer

Do I really need CURL on all my Windows devices?

So a vulnerability scanner has revealed that I have a version of CURL that is out of date on basically all of my machines. Environments in question are Windows 10 and Server 2019. From what I can tell it was Windows 10 1804 that first issued…
The ITea Guy
  • 321
  • 1
  • 6
  • 16
-3
votes
1 answer

reading Linux /proc directory with curl

I have a server with trasversal directory allowed where I'm able to use curl to read system operating files. I'd like to read the /proc directory as well but for some reason, I receive this: curl -v http://myserver:9999///proc/cpuinfo * Trying…
Daniel PC
  • 86
  • 4
-3
votes
1 answer

Docker container port 80 - "Connection refused"

Docker file content - [root@ansiblecontrolnode dockerbuild]# cat Dockerfile FROM centos:latest MAINTAINER dhirendra120285.rai@gmail.com RUN yum update -y && yum install httpd net-tools -y CMD ["apachectl","-D","FOREGROUND"] EXPOSE 80 Ansible…
Dhirendra Rai
  • 11
  • 1
  • 1
  • 1
1 2 3
43
44