Interaction between electrostatic collisionless shocks generates strong magnetic fields