[Apt-cacher-ng-users] HTTPS repositories

Eduard Bloch edi at gmx.de
Mon Mar 9 13:48:23 UTC 2015


Hallo,
* George Borisov [Tue, Mar 03 2015, 05:56:30PM]:

> Err https://deb.nodesource.com wheezy/main amd64 Packages
>   The requested URL returned error: 403
> [...]
> W: Failed to fetch https://deb.nodesource.com/node/dists/wheezy/main/binary-amd64/Packages  The requested URL returned error: 403
> 
> E: Some index files failed to download. They have been ignored, or old ones used instead.

Yeah, with "proxy" style configuration, the default config restricts the
request targets because, you know, CONNECT can be a dangerous toy in
corporate networks.

> If I configure client to ignore proxy for that repository ("Acquire::http::Proxy::deb.nodesource.com DIRECT;") then it works without issue.
> 
> According to https://bugs.debian.org/729508 apt-cacher-ng now support SSL - how to configure it to work?

Like following, if you want to allow everyone to access everything.
Adjust the regex otherwise!

$ echo "PassThroughPattern:.*" > /etc/apt-cacher-ng/ssl_passthrough.conf
$ service apt-cacher-ng restart

Regards,
Eduard.



More information about the Apt-cacher-ng-users mailing list