Changeset

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
parents 13809:2cfb6625b6d2
children 13812:04232123ba66 13813:fd7b0adada05
files util/prosodyctl/check.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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