This paper proposes an optimization-based procedure to determine the parameters of the Apollo guidance law for Korean lunar lander mission. A lunar landing mission is formulated as a trajectory optimization problem to minimize the fuel consumption and the reference trajectory for the lander is obtained by solving the problem in the pre-flight phase. Some parameters of the Apollo guidance, which are coefficients of the polynomial used to define the guidance command, are selected based on the reference trajectory obtained in the pre-flight phase. A case study for the landing guidance of Korean lunar lander mission using the proposed procedure is conducted to demonstrate its effectiveness.