equal
deleted
inserted
replaced
895 -- Private key matches public key in certificate |
895 -- Private key matches public key in certificate |
896 end |
896 end |
897 end |
897 end |
898 if imported[1] then |
898 if imported[1] then |
899 show_message("Imported certificate and key for hosts "..table.concat(imported, ", ")); |
899 show_message("Imported certificate and key for hosts "..table.concat(imported, ", ")); |
|
900 local ok, err = prosodyctl.reload(); |
|
901 if not ok and err ~= "not-running" then |
|
902 show_message(error_messages[err]); |
|
903 end |
900 else |
904 else |
901 show_warning("No certificates imported :("); |
905 show_warning("No certificates imported :("); |
902 return 1; |
906 return 1; |
903 end |
907 end |
904 end |
908 end |