The appearance of tumor necrosis factor superfamily member 11 (TNFSF11; RANKL) due to biosynthesis or secretion following a cellular stimulus, resulting in an increase in its intracellular or extracellular levels.