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, though it only deals with full ISO images.
software supported protocols
Potentially yes the software showing the drop-down of protocols can support a https mirror - the drop-down box in question accepts the following valid protocols:
This is detailed in the software-properties-gtk package source code:
Look in the file DialogMirror.py - function
def is_valid_mirror
there is a but...
However in reality, the public mirrors Ubuntu supports is limited to
http://
,ftp://
&rsync://
The mirrors you can define is limited when you define a new mirror:
local mirrors
Therefore, since the software itself does not limit the protocols, one way to download over HTTPS is to define and maintain your own local repository & mirror. As usual we have a great Q&A that have several applicable answers:
apt-mirror
is probably your best bet here. Install theapt-mirror
package and examine its man page:As you can see, you can define a local HTTPS mirror - add your local HTTPS mirror and it should appear in the list of mirrors.
Ubuntu doesnt own those servers.It is upto them to decide if they will have https or not. The option exists because a server might also provide https connection