Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

chore(pki): tighten the policy-check comment

Saif07080e6789e2
diff --git a/backend/src/ee/services/pki-acme/pki-acme-service.ts b/backend/src/ee/services/pki-acme/pki-acme-service.ts
index 97d21bff80..947ef78437 100644
--- a/backend/src/ee/services/pki-acme/pki-acme-service.ts
+++ b/backend/src/ee/services/pki-acme/pki-acme-service.ts
@@ -1076,9 +1076,8 @@ export const pkiAcmeServiceFactory = ({
})
}
};
- // Defaults are merged for the policy check only. The CSR we forward stays untouched, since
- // DigiCert and GoDaddy fall back to the first SAN when the commonName is empty and a defaulted
- // one would replace the identifier the client just validated.
+ // Policy check only. DigiCert and GoDaddy fall back to the first SAN when commonName is empty,
+ // so forwarding a defaulted one would replace the identifier the client just validated.
const validationResult = await certificatePolicyService.validateCertificateRequest(
policy.id,
applyProfileDefaults(updatedCertificateRequest, profile.defaults)