The process in which cells accumulate keratin, resulting in the hardening and strengthening of tissues such as nails and hair.