Welcome! Log In Create A New Profile

Advanced

Re: [PATCH] on_no_ca parameter added to ssl_verify_client directive

Maxim Dounin
December 12, 2021 09:54PM
Hello!

On Sun, Dec 12, 2021 at 03:51:50PM +0300, Evgenia Titova wrote:

> # HG changeset patch
> # User Evgenia Titova <zhenyatitoova@gmail.com>
> # Date 1639309072 -10800
> # Sun Dec 12 14:37:52 2021 +0300
> # Node ID f65a12913829b4032c390e16bafcefb7efdf27f4
> # Parent a7a77549265ef46f1f0fdb3897f4beabf9e09c40
> on_no_ca parameter added to ssl_verify_client directive.
>
> This parameter requires the client certificate but does not require it to be signed by a trusted CA certificate.
>
> diff -r a7a77549265e -r f65a12913829 src/http/modules/ngx_http_ssl_module.c
> --- a/src/http/modules/ngx_http_ssl_module.c Thu Nov 25 22:02:10 2021 +0300
> +++ b/src/http/modules/ngx_http_ssl_module.c Sun Dec 12 14:37:52 2021 +0300
> @@ -70,6 +70,7 @@
> { ngx_string("on"), 1 },
> { ngx_string("optional"), 2 },
> { ngx_string("optional_no_ca"), 3 },
> + { ngx_string("on_no_ca"), 4 },
> { ngx_null_string, 0 }
> };
>

Thanks you for the patch.

You may want to be more specific on how it is expected to be used
and why existing options are not enough. Quick look suggests that
"optional_no_ca" with additional $ssl_client_verify and/or
$ssl_client_cert tests should do the same. Given that
"optional_no_ca" anyway implies $ssl_client_cert verification by
an external service, it is not clear why the new mode should be
needed.

--
Maxim Dounin
http://mdounin.ru/
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[PATCH] on_no_ca parameter added to ssl_verify_client directive

Evgenia Titova 357 December 12, 2021 07:54AM

Re: [PATCH] on_no_ca parameter added to ssl_verify_client directive

Maxim Dounin 124 December 12, 2021 09:54PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

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