Primary adrenal insufficiency is due to failure of the adrenal gland, whereas secondary adrenal insufficiency is due to failure of ACTH production or release.
Section 13. Endocrinology and Metabolism