The waxy substance which coats the surface of the auditory canal is produced by
Ceruminous glands
The ceruminous glands in the skin of the human external auditory canal are modified apocrine glands, which, together with sebaceous glands, produce the cerumen, the ear wax. Cerumen plays an important role in the protection of the ear canal against physical damage and microbial invasion