projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98fab38
)
prosodyctl: check certs: Correctly check that certificates are valid for s2s
author
Kim Alvefur
<zash@zash.se>
Mon, 27 Apr 2015 19:52:16 +0000
(21:52 +0200)
committer
Kim Alvefur
<zash@zash.se>
Mon, 27 Apr 2015 19:52:16 +0000
(21:52 +0200)
prosodyctl
patch
|
blob
|
history
diff --git
a/prosodyctl
b/prosodyctl
index e8fca0cefd4806378bf96b0ece80bcc1164e490b..ef436106948a2ae316172a3b610cce2db8e7c0e8 100755
(executable)
--- 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