Welcome! Log In Create A New Profile

Advanced

Re: ocsp-stapling through http proxy?

Reinis Rozitis
October 13, 2016 10:14AM
> You mean a transparent proxy?
> In our case, this is not possible.

It's not really transparent.

As far as I understand you have a problem with opening outgoing traffic to
_random_ destination but you are fine if such traffic is pushed through some
proxy server (which in general means that the proxy server will anyways have
outgoing to "everywhere").

So while there is no http proxy support for such things in nginx ( in
Apache as a workarround you can override the responders url
https://httpd.apache.org/docs/2.4/mod/mod_ssl.html#sslstaplingforceurl )
what you could do is just force the ocsp responders host to resolve to your
proxy (no other traffic has to be altered) which then forwards the request
to the original responder.

The proxy could be aswell another nginx instance (the problem is just that
nginx (besides the commercial nginx+) doesn't resolve (without some
workarrounds) backend hostnames on the fly but only on startup).



But in the end do you really need it?

Even in the "cloud" the IPs shouldn't change too often (if so maybe it's
worth to look for another SSL provider?) also there is no failure if
suddenly the stapling doesn't happen serverside, just monitor it and when
the resolution changes (or nginx starts to complain) alter your firewall
rules.


p.s. I haven't done the "proxy part" but at one time there were problems
with Godaddys European ocsp responders so I did the DNS thingy and forced
the ocsp.godaddy.com to be resolved to US ips and it worked fine.

rr

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

ocsp-stapling through http proxy?

Anonymous User October 13, 2016 06:26AM

RE: ocsp-stapling through http proxy?

Reinis Rozitis October 13, 2016 07:18AM

Re: ocsp-stapling through http proxy?

Anonymous User October 13, 2016 08:24AM

Re: ocsp-stapling through http proxy?

Reinis Rozitis October 13, 2016 10:14AM

Re: ocsp-stapling through http proxy?

Anonymous User October 13, 2016 10:44AM

Re: ocsp-stapling through http proxy?

Maxim Dounin October 13, 2016 09:36AM

Re: ocsp-stapling through http proxy?

Reinis Rozitis October 13, 2016 10:16AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 170
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready