Welcome! Log In Create A New Profile

Advanced

RE: ssl client auth trouble

Reinis Rozitis
August 30, 2019 03:22PM
> I will search for this. Not sure how to add this info to my logs, or
> whether it logs failures too?

$ssl_client_verify - contains the verification status


You have to define a custom log_format (http://nginx.org/en/docs/http/ngx_http_log_module.html#log_format )

For example:

log_format clientcerts '$remote_addr $ssl_client_s_dn $ssl_client_verify';
access_log logs/ssl.log clientcerts;


... and you can add whatever variables to better identify what's going on http://nginx.org/en/docs/http/ngx_http_ssl_module.html#variables

rr

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

ssl client auth trouble

aweber August 30, 2019 10:10AM

RE: ssl client auth trouble

Reinis Rozitis August 30, 2019 12:34PM

Re: ssl client auth trouble

aweber August 30, 2019 03:14PM

RE: ssl client auth trouble

Reinis Rozitis August 30, 2019 03:22PM

Re: ssl client auth trouble

j94305 August 30, 2019 06:58PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 91
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready