Diff

prosodyctl @ 5293:fe9215155453

prosodyctl, prosody.cfg.lua.dist, certs/Makefile: Use .crt as suffix for certificates everywhere (thanks jasperixla)
author Kim Alvefur <zash@zash.se>
date Tue, 08 Jan 2013 21:20:00 +0100
parent 5292:46fbb5f1ef0a
child 5295:eef393a37e38
line wrap: on
line diff
--- a/prosodyctl	Tue Jan 08 13:33:35 2013 +0100
+++ b/prosodyctl	Tue Jan 08 21:20:00 2013 +0100
@@ -723,7 +723,7 @@
 
 function cert_commands.generate(arg)
 	if #arg >= 1 and arg[1] ~= "--help" then
-		local cert_filename = (CFG_DATADIR or ".") .. "/" .. arg[1] .. ".cert";
+		local cert_filename = (CFG_DATADIR or ".") .. "/" .. arg[1] .. ".crt";
 		if ask_overwrite(cert_filename) then
 			return nil, cert_filename;
 		end