diff options
author | Kim Alvefur <zash@zash.se> | 2015-04-27 21:52:16 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2015-04-27 21:52:16 +0200 |
commit | f39b6c4482d7faab8fc5b3af51dc40395f976f4e (patch) | |
tree | 03805b17b5e4392395033493f06688e3994f6e85 /prosodyctl | |
parent | 2dcf1e16965cf7fc6cf2c097dae4f20f3d864792 (diff) | |
download | prosody-f39b6c4482d7faab8fc5b3af51dc40395f976f4e.tar.gz prosody-f39b6c4482d7faab8fc5b3af51dc40395f976f4e.zip |
prosodyctl: check certs: Correctly check that certificates are valid for s2s
Diffstat (limited to 'prosodyctl')
-rwxr-xr-x | prosodyctl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |