See APT::https group of options in apt.conf(5) to configure how APT will handle
https:// URIs.