Raise NotFound if CA is not enabled.
This function is defined in multiple plugins to avoid circular imports (cert depends on certprofile, so we cannot import cert here).
ipaserver.plugins.certprofile
ipaserver.plugins.certprofile.validate_profile_id