Software / code / prosody
Comparison
prosodyctl @ 5545:d22416f8a836
prosodyctl: Add message describing the distinguished name input expected
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Mon, 29 Apr 2013 13:59:39 +0200 |
| parent | 5532:d5cbcdcdb2f7 |
| child | 5546:edc97af48d19 |
comparison
equal
deleted
inserted
replaced
| 5544:d911d9fb3929 | 5545:d22416f8a836 |
|---|---|
| 658 if ask_overwrite(conf_filename) then | 658 if ask_overwrite(conf_filename) then |
| 659 return nil, conf_filename; | 659 return nil, conf_filename; |
| 660 end | 660 end |
| 661 local conf = openssl.config.new(); | 661 local conf = openssl.config.new(); |
| 662 conf:from_prosody(hosts, config, arg); | 662 conf:from_prosody(hosts, config, arg); |
| 663 show_message("Please provide details to include in the certificate config file."); | |
| 664 show_message("Leave the field empty to use the default value or '.' to exclude the field.") | |
| 663 for k, v in pairs(conf.distinguished_name) do | 665 for k, v in pairs(conf.distinguished_name) do |
| 664 local nv; | 666 local nv; |
| 665 if k == "commonName" then | 667 if k == "commonName" then |
| 666 v = arg[1] | 668 v = arg[1] |
| 667 elseif k == "emailAddress" then | 669 elseif k == "emailAddress" then |