All Questions
19
questions
8
votes
2
answers
4k
views
git on Debian 10 backports throws fatal: unable to access 'https://github.com/user/repo.git': Failed sending HTTP2 data
As of yesterday, after updating my Debian 10+bpo system, whenever I try git clone, git fetch, or any other git operation that relies on network, I get fatal: unable to access 'https://domain.example/...
5
votes
1
answer
24k
views
Curl command to download a file over HTTPS
I need to download a particular file from https://file_path. Here is the curl command I use for that:
curl --user user:password "https://file_path?raw" > location
I wish to download the real ...
4
votes
1
answer
1k
views
Can cURL use a keyring for client certificates?
I'm using cURL to fetch from an HTTPS location, which requires a client certificate. I have my .curlrc set up to tell cURL where it is, but I don't want to leave my unencrypted private key just lying ...
4
votes
1
answer
9k
views
GIT from source: fatal: Unable to find remote helper for 'https'
Due to me not having root rights, I compiled git from source locally. My distro is OpenSUSE 13.1.
Googling the error fatal: Unable to find remote helper for 'https'
It was suggested that curl is not ...
3
votes
0
answers
2k
views
How to use an EC private key with curl+libnss?
I am attempting to use a client certificate with curl. If I use a curl binary built against openssl or libressl, it works without issue. If I use a curl built with libnss, then it refuses to load the ...
3
votes
0
answers
995
views
how to upload files to https server with certificates using curl or any other commands
I am Trying to upload to my HTTPS server using curl .I am using curl for that ,the code is
curl -v --cacert /tmp/WIN-CLS.vdi.com.pem -T /etc/hosts \
--user administrator:pass_123 https://xxx.xxx....
2
votes
1
answer
6k
views
Using curl with a https proxy
I have setup a squid proxy so that it listens on a HTTPS port instead of the usual HTTP port, in order to have encrypted communication between the client and the proxy itself.
While I have been able ...
1
vote
3
answers
14k
views
How to hide the html body when using curl?
Currently I am experimenting with curl flags, looking how to get only the response headers, follow the redirection if any, encryption and authentication used and the round trip time.
What flag ...
1
vote
1
answer
4k
views
How to recursively upload a directory which has directories and files to a server through HTTPS using curl command?
This is the command I am using:
curl --insecure -i https://XX.XXX.XXX.XX/project/conatinername/foldertobeuploaded/${file}.html -X PUT -H "Content-Type: text/html charset=UTF-8; -H "Content-Length:0" -...
1
vote
2
answers
31k
views
How can I use curl with a SSL URL to get a 200 OK?
I'm trying to use curl to get the HTTP status of a GET request:
curl --insecure --silent --show-error --connect-timeout 1 -I https://host:8443/health
Note: I'm using the --insecure flag in this ...
1
vote
0
answers
127
views
Unable to cURL on some platforms, in particular DigitalOcean VPS
I am on Ubuntu 23.10 (GNU/Linux 6.5.0-27-generic x86_64) is not working, curl is 8.2.1 suspect is there is something on the machine.
I have two Virtual Private Servers (VPS) based on Digital Ocean ...
1
vote
0
answers
160
views
CURL/Mac: error while downloading. Protocol "https" not supported (error 1)
I experience issues with both Composer and Wordpress (npm doesn't seem to be affected 🤔)
The error message from Composer is exactly https://repo.packagist.org could not be fully loaded (curl error 1 ...
1
vote
0
answers
277
views
can't connect to https API using cURL?
I have API endpoint URL, certificate file ( cert.p12 ) & password. Here is the steps I try to connect to this API.
( IN Windows 7 )
First I type the URL in chrome browser and it didn't give me ...
0
votes
1
answer
27k
views
Curl Couldn't resolve host for HTTPS
I am trying to use curl on a Red Hat Enterprise Linux Server release 6.1. When I try to use URL with HTTPS it gives an error message "Couldn't resolve host". But for the same URL when tried with HTTP (...
0
votes
1
answer
195
views
How to force HTTP URLs to be rewritten to HTTPS when using curl command line
I'm using some public build scripts that call dependencies from URLs beginning with http://. These build scripts fail as the company firewall blocks the download of files over http and require ...