In this paper, zirconium and titanium are used as the main components of a sealing agent to seal composite holes. The effects of zirconium content, titanium content, pH, time, and temperature on the sealing effect of the oxide film in the environmentally friendly zirconium salt and titanium salt composite sealing process are studied by the orthogonal experiment and response surface method. The optimization results show that the best sealing conditions of the composite salt are: ammonium fluotitanate 6.0 g/L, ammonium fluozirconate 6.0 g/L, pH 4.0, and sealing time 20 min. The sealing temperature is 35°C. After analyzing the micro-morphology and surface elements of the oxide film sealed by composite salt, the authors found that the porous structure of the oxide film surface obviously disappeared after sealing, and the oxide film surface after sealing was mainly composed of Zr, Ti, O, Al, and other elements.