#756656 approx: support for https

Package:
approx
Source:
approx
Description:
caching proxy server for Debian archive files
Submitter:
Matt Taggart
Date:
2014-07-31 21:45:21 UTC
Severity:
wishlist
#756656#5
Date:
2014-07-31 20:46:26 UTC
From:
To:
I would like it if approx supported clients talking to it with https.
(I know it already supports talking to remote repos with https)
Hopefully this is relatively easy if you are using a standard library?
I suppose it should use a different port number.

Thanks for considering this,

#756656#10
Date:
2014-07-31 21:41:08 UTC
From:
To:
Approx doesn't handle any of the connection setup any more; it just
relies on inetd.  (So approx just expects its standard input and
output to be the open HTTP connection with the client.)

It should be possible to use stunnel to accomplish what you want; see
https://www.stunnel.org/howto.html

But I haven't tried this.  If you get this to work before I have a
chance to try it, please let me know and I'll add it to the FAQ.