Software /
code /
prosody
Comparison
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 |
comparison
equal
deleted
inserted
replaced
5292:46fbb5f1ef0a | 5293:fe9215155453 |
---|---|
721 end | 721 end |
722 end | 722 end |
723 | 723 |
724 function cert_commands.generate(arg) | 724 function cert_commands.generate(arg) |
725 if #arg >= 1 and arg[1] ~= "--help" then | 725 if #arg >= 1 and arg[1] ~= "--help" then |
726 local cert_filename = (CFG_DATADIR or ".") .. "/" .. arg[1] .. ".cert"; | 726 local cert_filename = (CFG_DATADIR or ".") .. "/" .. arg[1] .. ".crt"; |
727 if ask_overwrite(cert_filename) then | 727 if ask_overwrite(cert_filename) then |
728 return nil, cert_filename; | 728 return nil, cert_filename; |
729 end | 729 end |
730 local _, key_filename = cert_commands.key({arg[1]}); | 730 local _, key_filename = cert_commands.key({arg[1]}); |
731 local _, conf_filename = cert_commands.config(arg); | 731 local _, conf_filename = cert_commands.config(arg); |