Welcome! Log In Create A New Profile

Advanced

Re: force nginx to use SSL/TLS alert on invalid client certificate

Maxim Dounin
March 02, 2021 08:34AM
Hello!

On Tue, Mar 02, 2021 at 03:30:02AM -0500, charlemagnelasse wrote:

> How can I force nginx also to report the client certificate error via the
> TLS alert mechanisms instead of this useless HTML page?

This is not currently posssible.

On the other hand, if you want to make the page more useful in
your particular use case, you can do so by configuring appropriate
page with the error_page directive, see here:

http://nginx.org/en/docs/http/ngx_http_ssl_module.html#errors

Certificate verification results can be found in the
$ssl_client_verify variable.

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

force nginx to use SSL/TLS alert on invalid client certificate

charlemagnelasse March 02, 2021 03:30AM

Re: force nginx to use SSL/TLS alert on invalid client certificate

Maxim Dounin March 02, 2021 08:34AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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