6.12 SSL Certificate Status Codes

These status codes are used by interactive ssl and the ldapssl_get_cert_attribute function.

Table 6-18 SSL Certificate Status Codes

Status

2

ERR_UNABLE_TO_GET_ISSUER_CERT

Unable to get issuer certificate

6

ERR_UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY

Unable to decode issuer public key

7

ERR_CERT_SIGNATURE_FAILURE

Certificate signature failure

9

ERR_CERT_NOT_YET_VALID

Certificate is not yet valid

10

ERR_CERT_HAS_EXPIRED

CRL is not yet valid

13

ERROR_IN_CERT_NOT_BEFORE_FIELD

Format error in certificate’s notBefore field

14

ERROR_IN_CERT_NOT_AFTER_FIELD

Format error in certificate’s notAfter field

18

DEPTH_ZERO_SELF_SIGNED_CERT

Self-signed certificate

19

SELF_SIGNED_CERT_IN_CHAIN

Self-signed certificate in certificate chain

20

UNABLE_TO_GET_ISSUER_CERT_LOCALLY

Unable to get local issuer certificate

21

UNABLE_TO_VERIFY_LEAF_SIGNATURE

Unable to verify the first certificate

24

INVALID_CA

Invalid CA certificate

25

PATH_LENGTH_EXCEEDED

Path length constraint exceeded

26

INVALID_PURPOSE

Unsupported certificate purpose

27

CERT_UNTRUSTED

Certificate not trusted

28

CERT_REJECTED

Certificate rejected