prosodyctl: Add message describing the distinguished name input expected
authorKim Alvefur <zash@zash.se>
Mon, 29 Apr 2013 11:59:39 +0000 (13:59 +0200)
committerKim Alvefur <zash@zash.se>
Mon, 29 Apr 2013 11:59:39 +0000 (13:59 +0200)
prosodyctl

index 30a10b9a8a11d316fcf7c3013caa1fbc48133804..06590d1cca64fa2cb946cb04675b5c2855d0f677 100755 (executable)
@@ -660,6 +660,8 @@ function cert_commands.config(arg)
                end
                local conf = openssl.config.new();
                conf:from_prosody(hosts, config, arg);
+               show_message("Please provide details to include in the certificate config file.");
+               show_message("Leave the field empty to use the default value or '.' to exclude the field.")
                for k, v in pairs(conf.distinguished_name) do
                        local nv;
                        if k == "commonName" then