From f39b6c4482d7faab8fc5b3af51dc40395f976f4e Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Mon, 27 Apr 2015 21:52:16 +0200 Subject: prosodyctl: check certs: Correctly check that certificates are valid for s2s --- prosodyctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prosodyctl b/prosodyctl index e8fca0ce..ef436106 100755 --- a/prosodyctl +++ b/prosodyctl @@ -1146,7 +1146,7 @@ function commands.check(arg) end if (not (config.get(host, "anonymous_login") or config.get(host, "authentication") == "anonymous")) - and not x509_verify_identity(host, "_xmpp-client", cert) then + and not x509_verify_identity(host, "_xmpp-server", cert) then print(" Not vaild for server-to-server connections to "..host..".") cert_ok = false end -- cgit v1.2.3