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

222 questions
160
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':…
89
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?
79
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
  • 959
76
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…
24
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
  • 481
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,455
17
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
  • 311
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
  • 13,297
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…
12
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
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…
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…
9
votes
4 answers

"Method https has died unexpectedly! Sub-process https received signal 4" after adding any additional repositories - Ubuntu Desktop 22.04

I am having a problem when trying to add any additional repositories in my Ubuntu Desktop 22.04 LTS running on a VM in ESXi 7. The installation is fresh. I'm facing the below problem when I try to sudo apt update ... Reading package lists... Done …
SM1312
  • 193
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…
8
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