Welcome! Log In Create A New Profile

Advanced

Re: SSL_STAPLING when network is unreachable

Maxim Dounin
February 27, 2014 06:58AM
Hello!

On Wed, Feb 26, 2014 at 02:32:48PM -0500, mastercan wrote:

> Hello Maxim,
>
> > On startup, nginx does name resolution of various names in a
> > configuration files, using system resolver. This includes initial
> > resolution of OCSP responders if stapling is used. If your system
> > resolver doesn't have internet access and blocks trying to resolve
> > names - so nginx will do.
>
> I see. But what is the parameter "resolver_timeout" for? I had 2 ssl_staple
> directives in my config, and I set a resolver_timeout of 5 secs. I thought
> the blocking should not exceed 10 seconds then, assuming the resolving is
> done sequentially? It took more than 40 seconds to start though.

It's to configure timeout used by nginx's own nonblocking resolver
(http://nginx.org/r/resolver) - that is, for name resolution done
by running nginx. To configure system resolver you should
use your system's settings, usually /etc/resolv.conf.

(Actually, sole purpose of nginx's own resolver is to be able to
resolve names when nginx is running, without blocking. It's not
something possible when using system resolver, as it has only
blocking interface.)

--
Maxim Dounin
http://nginx.org/

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

SSL_STAPLING when network is unreachable

mastercan February 26, 2014 11:39AM

Re: SSL_STAPLING when network is unreachable

Maxim Dounin February 26, 2014 12:28PM

Re: SSL_STAPLING when network is unreachable

mastercan February 26, 2014 02:32PM

Re: SSL_STAPLING when network is unreachable

Maxim Dounin February 27, 2014 06:58AM

Re: SSL_STAPLING when network is unreachable

mastercan February 27, 2014 07:00AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 204
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