Diff

util/prosodyctl/check.lua @ 13811:83478fc0806b 13.0

prosodyctl check certs: Use correct hostname in warning message about HTTPS
author Matthew Wild <mwild1@gmail.com>
date Wed, 02 Apr 2025 17:27:39 +0100
parent 13778:b6d0f1d79b60
child 13830:145b71d1283c
line wrap: on
line diff
--- a/util/prosodyctl/check.lua	Wed Apr 02 15:54:31 2025 +0200
+++ b/util/prosodyctl/check.lua	Wed Apr 02 17:27:39 2025 +0100
@@ -1313,7 +1313,7 @@
 							http_loaded = false;
 						end
 						if http_loaded and not x509_verify_identity(http_host, nil, cert) then
-							print("    Not valid for HTTPS connections to "..host..".")
+							print("    Not valid for HTTPS connections to "..http_host..".")
 							cert_ok = false
 						end
 						if use_dane then