MatchServiceIdentityFailureDetails
MatchServiceIdentityFailureDetails
Diagnostic context attached to an identity-matching failure.
ts
interface MatchServiceIdentityFailureDetails {
readonly subjectCommonName?: string;
readonly expected?: string;
readonly actual?: string;
readonly presentedIdentifierTypes?: readonly ("dns" | "uri" | "srv")[];
readonly commonNameFallbackReason?: "disabled" | "suppressed_by_presented_identifier" | "common_name_missing" | "common_name_mismatch";
}Properties
readonlysubjectCommonName?:string— CN of the certificate that was being matched, if present.readonlyexpected?:string— The reference identifier the caller asked to verify.readonlyactual?:string— Comma-joined presented identifiers (from SAN) that were compared.readonlypresentedIdentifierTypes?:readonly("dns"|"uri"|"srv")[]— SAN types that were present, relevant to CN-fallback suppression logic.readonlycommonNameFallbackReason?:"disabled"|"suppressed_by_presented_identifier"|"common_name_missing"|"common_name_mismatch"— Explains why CN fallback was not used or failed.