Abstract: A system that produces a sterilizing solution, has an electrolytic cell containing an anode compartment and a cathode compartment separated by a porous ion-exchange membrane. The system further has an ion-exchange water softener arranged to supply the electrolytic cell with deionized water and a brine tank arranged to supply the electrolytic cell with a sodium chloride brine solution. The system is arranged for conducting a regeneration of the water softener by use of a sodium chloride brine solution from the brine tank. The system has a positive displacement pump controlled by a control unit of the system to selectively supply a sodium chloride brine solution from the brine tank to the electrolytic cell and to the water softener for regeneration thereof.