mod_admin_shell: Squeeze some characters out of the Certificate column
authorKim Alvefur <zash@zash.se>
Thu, 17 Feb 2022 01:41:57 +0100
changeset 12297 145cb8305c67
parent 12296 7fe5cd8a10e2
child 12298 81f147ddc4ab
mod_admin_shell: Squeeze some characters out of the Certificate column The more compact these are, the better
plugins/mod_admin_shell.lua
--- a/plugins/mod_admin_shell.lua	Thu Feb 17 01:39:35 2022 +0100
+++ b/plugins/mod_admin_shell.lua	Thu Feb 17 01:41:57 2022 +0100
@@ -819,7 +819,7 @@
 		title = "Certificate";
 		description = "Validation status of certificate";
 		key = "cert_identity_status";
-		width = 13;
+		width = 11;
 		mapper = function(cert_status, session)
 			if cert_status then return capitalize(cert_status); end
 			if session.cert_chain_status == "Invalid" then
@@ -833,7 +833,7 @@
 			elseif session.cert_identity_status == "invalid" then
 				return "Mismatched";
 			end
-			return "Not validated";
+			return "Unknown";
 		end;
 	};
 	sni = {