prosodyctl
changeset 8121 f8c52010bd37
parent 8120 66d8f6b3c3ef
child 8122 94a1fdaf12d1
equal deleted inserted replaced
8120:66d8f6b3c3ef 8121:f8c52010bd37
   894 			-- Private key matches public key in certificate
   894 			-- Private key matches public key in certificate
   895 		end
   895 		end
   896 	end
   896 	end
   897 	if imported[1] then
   897 	if imported[1] then
   898 		show_message("Imported certificate and key for hosts "..table.concat(imported, ", "));
   898 		show_message("Imported certificate and key for hosts "..table.concat(imported, ", "));
       
   899 	else
       
   900 		show_warning("No certificates imported :(");
       
   901 		return 1;
   899 	end
   902 	end
   900 end
   903 end
   901 
   904 
   902 function commands.cert(arg)
   905 function commands.cert(arg)
   903 	if #arg >= 1 and arg[1] ~= "--help" then
   906 	if #arg >= 1 and arg[1] ~= "--help" then