SSL Client Certificate Validation

Maxim Dounin mdounin at mdounin.ru
Tue Mar 27 12:45:17 UTC 2018


Hello!

On Tue, Mar 27, 2018 at 08:37:11AM -0400, dhallam wrote:

> I'm running nginx version: nginx/1.11.5 (nginx-plus-r11). I am trying to
> connect a tcp client (with client cert) over SSL to nginx, where the SSL
> will be validated and terminated, and then onto the upsteam server in the
> clear.

[...]

> However, I get a '2018/03/27 12:14:35 [emerg] 18325#18325:
> "ssl_client_certificate" directive is not allowed here in
> /etc/nginx/conf.d/my-listener.conf:11' error when I try to start the
> server.
> 
> According to
> http://nginx.org/en/docs/stream/ngx_stream_ssl_module.html#ssl_client_certificate,
> this seems to be a valid configuration directive. 
> 
> Would anyone be able to help identify what it is that I am missing?

Quoting the link above:

: This directive appeared in version 1.11.8.

And you are using nginx 1.11.5, which is older than 1.11.8.  You 
have to upgrade to a newer version to get it working.

-- 
Maxim Dounin
http://mdounin.ru/


More information about the nginx mailing list