Sterile neutrino is a fascinating candidate for dark matter.In this paper, we examine the Affleck-Dine (AD) leptogenesis scenario generating a large lepton asymmetry,which can inducethe resonant production of sterile neutrino dark mattervia the Shi-Fuller (SF) mechanism.We also revisit the numerical calculation of the SF mechanism and the constraints from current X-ray and Lyman-α forest observations.We find that the AD leptogenesis scenario can explain the production of sterile neutrino dark matter by incorporating a non-topological soliton with a lepton charge called L-ball.Finally, we discussan enhancement of second-order gravitational waves at the L-ball decay and investigate the testability of our scenario with future gravitational wave observations.