Software /
code /
prosody
Changeset
7214:a927edfb54ab
Merge 0.10->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 28 Feb 2016 18:47:32 +0100 |
parents | 7211:117f4a627813 (current diff) 7213:193e4c65d218 (diff) |
children | 7219:c12c9b9c1949 |
files | prosodyctl |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/prosodyctl Sun Feb 28 18:25:16 2016 +0100 +++ b/prosodyctl Sun Feb 28 18:47:32 2016 +0100 @@ -1223,7 +1223,7 @@ print(" No 'certificate' found for "..host) cert_ok = false elseif not ssl_config.key then - print(" No 'key' found for for "..host) + print(" No 'key' found for "..host) cert_ok = false else local key, err = io.open(ssl_config.key); -- Permissions check only @@ -1248,7 +1248,7 @@ cert_ok = false elseif not cert:validat(os.time() + 86400*7) then print(" Certificate expires within one week.") - elseif not cert:validat(os.time() + 86400*13) then + elseif not cert:validat(os.time() + 86400*31) then print(" Certificate expires within one month.") end if config.get(host, "component_module") == nil