Dustin Oprea
May 16, 2014 12:40AM
I have the following server configuration for client-authentication:

ssl on;
ssl_certificate /.../certificate.pem;
ssl_certificate_key /.../private.pem;

ssl_client_certificate /.../ca_cert.pem;
ssl_verify_client on;
ssl_verify_depth 1;

It looks like I get a "Bad Request" (400) when I use a certificate signed
by a different CA. So, what's the point of the ssl_client_verify variable?

From Nginx's SSL module documentation (
http://nginx.org/en/docs/http/ngx_http_ssl_module.html):

$ssl_client_verify

returns the result of client certificate verification: “SUCCESS”,
“FAILED”, and “NONE” if a certificate was not present;



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

SSL Authentication: $ssl_client_verify

Dustin Oprea May 16, 2014 12:40AM

Re: SSL Authentication: $ssl_client_verify

Maxim Dounin May 16, 2014 07:06AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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