# HG changeset patch # User Kim Alvefur # Date 1574893405 -3600 # Node ID 6c3fccb75b38413d20b61d65552393fcc29017a1 # Parent 926d6086a95a0bc42dcd2905e430b0a12bca009d mod_s2s_auth_certs: Save chain validation errors for later use diff -r 926d6086a95a -r 6c3fccb75b38 plugins/mod_s2s_auth_certs.lua --- a/plugins/mod_s2s_auth_certs.lua Tue Nov 26 15:29:01 2019 +0000 +++ b/plugins/mod_s2s_auth_certs.lua Wed Nov 27 23:23:25 2019 +0100 @@ -27,6 +27,7 @@ log("debug", "certificate error(s) at depth %d: %s", depth-1, table.concat(t, ", ")) end session.cert_chain_status = "invalid"; + session.cert_chain_errors = errors; else log("debug", "certificate chain validation result: valid"); session.cert_chain_status = "valid";