Diff

plugins/mod_s2s.lua @ 13803:3627980e7df6

Merge 13.0->trunk
author Kim Alvefur <zash@zash.se>
date Tue, 01 Apr 2025 18:31:26 +0200
parent 13802:7c76ca78ceef
child 13804:e128ed4494f3
line wrap: on
line diff
--- a/plugins/mod_s2s.lua	Mon Mar 31 21:23:35 2025 +0200
+++ b/plugins/mod_s2s.lua	Tue Apr 01 18:31:26 2025 +0200
@@ -999,7 +999,7 @@
 			local cert_errors = set.new(session.cert_chain_errors[1]);
 			if cert_errors:contains("certificate has expired") then
 				return "has expired";
-			elseif cert_errors:contains("self signed certificate") then
+			elseif cert_errors:contains("self signed certificate") or cert_errors:contains("self-signed certificate") then
 				return "is self-signed";
 			elseif cert_errors:contains("no matching DANE TLSA records") then
 				return "does not match any DANE TLSA records";