This article captures standards based HTTP error codes used by the DigiCert PKI Platform SCEP Server, used to to deliver more meaningful error codes and messages to clients interacting with DigiCert's SCEP Server.
HTTP Error Code
HTTP Error Message
DigiCert Error Message
Comment
400
BAD REQUEST
Passcode Verification Failed
Bad enrollment request.
Typically a mismatch of name-value pairs contained within the CSR and those configured by the Administrator for the matching certificate profile.
For example: Missing attribute within the Subject DN and/or Subject Alternative Name (SAN).
401
UNAUTHORIZED
Passcode Authentication Failed
Enrollment code is invalid.
Enrollment code does not match the value configured by the Administrator.
406
NOT ACCEPTABLE
Passcode Has expired
Enrollment code has expired.
412
PRECONDITION FAILED
Passcode is either redeemed or locked
Number of bad password attempt exceed
Enrollment code has already been redeemed/locked.