Changeset

7209:92e5036bc55c

prosodyctl: check certs: Update messages to account for 'ssl' option maybe not existing
author Kim Alvefur <zash@zash.se>
date Sun, 28 Feb 2016 18:23:24 +0100
parents 7208:f666d50cc32b
children 7210:48149ecbb649
files prosodyctl
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/prosodyctl	Sun Feb 28 18:22:23 2016 +0100
+++ b/prosodyctl	Sun Feb 28 18:23:24 2016 +0100
@@ -1220,10 +1220,10 @@
 					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