Certificates Chain Codes
GET Certificates/{guid}/ValidationResults uses the following codes to confirm the trust chain of a certificate. Chain code errors occurs when there is at least one of the following Chain Validation failure results.
|
Chain Code |
Value |
Message |
|---|---|---|
| 0 | None | No state set. |
| 2 | Success | Chain validation succeeded. |
| 4 | NoChain | No chain was returned by the endpoint. |
| 8 | InvalidChain | The chain returned by the endpoint cannot be used to form a valid chain. |
| 16 | ExpiringChain | One or more of the CA certificates expire before the end-entity. |
| 32 | IncompleteChain | The chain returned by the endpoint did not include a sufficient number of intermediate certificates to build a complete chain anchored by a root CA. |
| 64 | BlacklistedChain | One or more of the CA certificates are marked as untrustworthy. |
| 128 | MismatchedChain | The chain returned by the endpoint does not match the chain constructed by the Trust Protection Platform chain building algorithm. |
| 512 | MismatchedCertificate | The chain was not validated because the end-entity certificate, returned by the endpoint, does not match the certificate in Trust Protection Platform. |