mod_admin_shell: Fix display of remote cert status when expired etc
Looks like autocomplete unhelpfully capitalized this word, but it's
lowercase where it is set in mod_s2s_auth_certs
--- a/plugins/mod_admin_shell.lua Fri Apr 07 15:54:59 2023 +0100
+++ b/plugins/mod_admin_shell.lua Thu Apr 06 17:09:03 2023 +0200
@@ -829,7 +829,7 @@
width = 11;
mapper = function(cert_status, session)
if cert_status then return capitalize(cert_status); end
- if session.cert_chain_status == "Invalid" then
+ if session.cert_chain_status == "invalid" then
local cert_errors = set.new(session.cert_chain_errors[1]);
if cert_errors:contains("certificate has expired") then
return "Expired";