Where are melanin and keratin manufactured?

Melanin is formed by the melanocytes which are in the stratum basale of the epidermis. Keratin is formed by the epithelial cells of the skin in the epidermis.