cmdb_ci_certificate: Data Policy Error on Manual UpdatesIssue Symptoms **Error message:** "Data Policy Exception: Subject Alternative Name is required" (or "Common Name is required") When attempting to manually update a record in the `cmdb_ci_certificate` table, the update fails with a data policy validation error, even though the fields appear to be populated or are hidden from the form. Release Yokohama and later versions. Cause ## Root Cause The CI Class Models application (v1.81.1 and later) includes an OOTB data policy rule named **"Certificate Must Contain CN or SAN"** on the `cmdb_ci_certificate` table that requires either a Common Name (CN) or Subject Alternative Name (SAN) to be present before any update is allowed. **Why this policy exists:** Windows Discovery fails when a certificate record has an empty `subject_common_name` field. The policy was added as a data quality safeguard to prevent operators from creating or updating certificates without this critical identifier, which would otherwise break Discovery classification and CI enrichment workflows. This is a known platform behavior, not a customer-specific workaround. **Design intent:** The `cmdb_ci_certificate` table is designed to be populated via OOTB mechanisms: - **Certificate Inventory and Management (CIM):** Automated ingestion from your infrastructure - **Windows Discovery:** Extracts certificates from Windows servers and auto-populates CN/SAN - **Bulk Upload:** Import certificates in bulk via Excel or CSV Manual editing is not the intended input path; the read-only UI restrictions on CN/SAN fields reflect this design. Resolution Choose the path that best fits your environment: ### Solution A: Use Certificate Inventory and Management (CIM) or Discovery **Best for:** Environments where certificates should be automatically sourced from your infrastructure. 1. Ensure CIM or Discovery is enabled and configured for your environment 2. Certificates will be ingested automatically with CN/SAN pre-populated 3. Manual edits to the resulting records will then be allowed