--- a/core/certmanager.lua Sat Jul 03 11:03:06 2010 +0500 +++ b/core/certmanager.lua Fri Jul 23 09:17:11 2010 +0100 @@ -48,11 +48,12 @@ else log("error", "SSL/TLS: Error initialising for host %s: %s", host, err ); end - ssl = false end return ctx, err; + elseif not ssl then + return nil, "LuaSec (required for encryption) was not found"; end - return nil; + return nil, "No SSL/TLS configuration present for "..host; end function reload_ssl_config()