aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-02-28 18:23:24 +0100
committerKim Alvefur <zash@zash.se>2016-02-28 18:23:24 +0100
commit42dd175443ce6d7063c04665d8abc4efe4f342aa (patch)
treed702196fccee68bbe1f6c95436cc8f329d82edde
parentda1e1f1556594579ebf0c96dd4676c6c688cabbe (diff)
downloadprosody-42dd175443ce6d7063c04665d8abc4efe4f342aa.tar.gz
prosody-42dd175443ce6d7063c04665d8abc4efe4f342aa.zip
prosodyctl: check certs: Update messages to account for 'ssl' option maybe not existing
-rwxr-xr-xprosodyctl4
1 files changed, 2 insertions, 2 deletions
diff --git a/prosodyctl b/prosodyctl
index 2972aa53..4ae1136c 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -1220,10 +1220,10 @@ function commands.check(arg)
print(" Error: "..err);
cert_ok = false
elseif not ssl_config.certificate then
- print(" No 'certificate' set in ssl option for "..host)
+ print(" No 'certificate' found for "..host)
cert_ok = false
elseif not ssl_config.key then
- print(" No 'key' set in ssl option for "..host)
+ print(" No 'key' found for for "..host)
cert_ok = false
else
local key, err = io.open(ssl_config.key); -- Permissions check only