A system to prepare an antimicrobial solution by the electrolysis of brine is presented where the antimicrobial solution is a solution comprising HOCl that contains a HOCl concentration of 100 ppm or more at a pH of approximately 6.5. The system includes an electrolysis cell that is provided with a constant current by a digital DC power supply controlled by a microprocessor and a controlled brine concentration at a controlled rate, which can also be controlled by the microprocessor to deliver a fluid that is continuously observed by a pH probe and an ORP probe that provides input to the microprocessor to adjust voltage, pump rate and/or flow rate in a programmed manner by the microprocessor. A method to produce the antimicrobial solution, including a sporicidal solution, by the novel system is presented.