Questions tagged [https]

Hypertext Transfer Protocol Secure

Hypertext Transfer Protocol Secure (HTTPS) is a combination of the Hypertext Transfer Protocol (HTTP) with SSL/TLS protocol to provide encrypted communication and secure identification of a network web server

216 questions
153
votes
7 answers

How to install certificates for command line

So in school we need to install a certificate to access https sites. In firefox, I can import the certificate. However, I can't do so with the command line. For example, running git push I get: fatal: unable to access 'https://github.com/user/repo':…
Universal Electricity
  • 1,645
  • 2
  • 13
  • 18
79
votes
5 answers

How to use https with apt-get?

Does apt-get use https or any kind of encryption? Is there a way to configure it to use it?
Strapakowsky
  • 11,664
  • 15
  • 36
  • 40
77
votes
1 answer

HTTP POST and GET using cURL in linux

I had server application in asp.net in windows in that i had a web service for that . how can i call web service in ubuntu using shell script by using cURL command
R Square
  • 939
  • 2
  • 8
  • 9
71
votes
4 answers

What is the correct way to use git with gnome-keyring and http(s) repos?

Currently, whenever I git pull or git push to a http(s) repository, I get the following: $ git pull Username for 'https://gitrepos.reposdomain.com': me@mydomain.com Password for 'https://me@mydomain.com@gitrepos.reposdomain.com': This is ok for…
tudor -Reinstate Monica-
  • 7,098
  • 7
  • 34
  • 63
25
votes
7 answers

Python HTTPS requests (urllib2) to some sites fail on Ubuntu 12.04 without proxy

I have an little app I wrote in Python and it used to work... until yesterday, when it suddenly started giving me an error in a HTTPS connection. I don't remember if there was an update, but both Python 2.7.3rc2 and Python 3.2 are failing just the…
Pablo
  • 499
  • 1
  • 4
  • 11
18
votes
1 answer

How do I install curl with http2 support

It seems like curl packed with ubuntu 16.04 does not have http2 support. How do I enable http2 in curl
Tachyons
  • 17,221
  • 18
  • 74
  • 116
16
votes
2 answers

Updating http_proxy environment variable

I recently changed my password corresponding to my username for my proxy. Hence I updated the apt.conf and /etc/environment files with my new password. However when I type echo $http_proxy or env which prints all the environment variables, it…
anon
  • 301
  • 1
  • 2
  • 5
14
votes
2 answers

Are all Ubuntu update download servers HTTP only?

In Update Manager's software sources, the option exists to choose a download server and protocol like shown below. Do all updates download via HTTP only? And if HTTPS (or SFTP) aren't supported, why does the option exist? Related question here,…
Tom Brossman
  • 12,953
  • 11
  • 66
  • 134
13
votes
5 answers

Can't connect to certain HTTPS sites

I've just moved to a new apartment and with internet connection via a router and I'm finding that I can't connect to quite a few sites that use SSL. For example trying to connect to PayPal: curl -v https://paypal.com * About to connect() to…
mind.blank
  • 291
  • 1
  • 4
  • 11
11
votes
0 answers

Why doesn't archive.ubuntu.com use HTTPS?

I always see instructions for adding the Universe and Multiverse repositories that look something like the following: sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) main universe restricted multiverse" Recently…
smitelli
  • 261
  • 2
  • 6
11
votes
5 answers

How to disable TLS 1.0, TLS 1.1 on Apache

I have enabled TLS 1.2 in my web server. But the http://ssllabs.com indicates that, I have enabled TLS 1.0 and 1.1 versions along with the TLS1.2 in my server. I modified my configurations files to disable 1.0 and 1.1 from my server. But it doesn't…
Eranga Kapukotuwa
  • 211
  • 1
  • 2
  • 4
10
votes
1 answer

gzip_http_version 1.1; in Nginx, when using HTTP/2

In an Nginx server block of a site aimed to work with HTTP/2, I've seen this: gzip_http_version 1.1; Can this make some conflict with some packets sent in HTTP/2? I don't understand this Gzip directive hence I can't say if HTTP/2 packets could be…
user423047
8
votes
2 answers

How to correct Google Earth's "invalid HTTP request" notice?

I am running Ubuntu 12.04. As you might know Google Earth 7 doesn't work in Ubuntu 12.04 yet. I installed Google Earth via make-googleearth-package --force command. My installation was successful. At the beginning everything was working fine. But…
Hejar Mukriyani
  • 1,163
  • 3
  • 9
  • 12
7
votes
3 answers

Error while downloading HTTPS files using wget

If I try to download the some http files, Then wget works just fine (eg: wget download_link). But when i try to download https files using wget then I'm getting the following error http request sent 403 forbidden My problem is, I can't download…
Enthusiast
  • 243
  • 2
  • 3
  • 10
7
votes
3 answers

Is Ubuntu's archive signing key available via HTTPS somewhere?

I'm writing a program that needs to download GPG keys for various distributions to do unattended net installs. To do this securely and in an automated way, I need to download the key via HTTPS, which means "gpg --recv-keys" isn't an option. Other…
1
2 3
14 15