This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.
Error Message
Unspecified error.
Description
This error code is reported if an unspecified error occurs.
Possible Cause
An unknown SSL error occurs.
Solution
Check the input parameters, captured exceptions, and debug and log information.
Error Message
Unable to get issuer certificate.
Description
This error code is reported if the attempt to obtain the issuer certificate fails.
Possible Cause
The certificate chain is incomplete or an incorrect certificate is configured on the server.
Solution
Check whether the SSL/TLS connection is correctly set with a certificate path and certificate chain and whether the certificate verification is successful.
Error Message
Unable to get certificate revocation list (CRL).
Description
Failed to obtain the certificate revocation list (CRL).
Possible Cause
The network is faulty, the CRL server is incorrectly configured, or the CA service is unavailable.
Solution
Check the network, verify that the CRL URI is correct, update the CRL file, or use the Online Certificate Status Protocol (OCSP) to check the certificate status.
Error Message
Unable to decrypt certificate signature.
Description
This error code is reported if the attempt to decrypt the certificate signature fails.
Possible Cause
The private key is missing or incorrect.
Solution
Check that the client has a correct private key, the private key matches the public key of the certificate, and the private key format is correct.
Error Message
Unable to decrypt CRL signature.
Description
This error code is reported if the attempt to decrypt the CRL signature fails.
Possible Cause
The CRL encryption algorithm is not supported by the client, or the key used to encrypt the CRL signature cannot be identified by the client.
Solution
Check and ensure that the client has the correct public key of the certificate authority (CA), that the public key matches the CA that issued the CRL, and that the public key is in the correct format.
Error Message
Unable to decode issuer public key.
Description
Failed to decode the issuer public key.
Possible Cause
The certificate format is incorrect, or the public key data is damaged.
Solution
Check the certificate format and public key data, and regenerate the certificate.
Error Message
Certificate signature failure.
Description
This error code is reported if the attempt to sign the certificate fails.
Possible Cause
The certificate signature is incorrectly calculated, or the digital signing algorithm used by the certificate is not supported by the client.
Solution
Error Message
CRL signature failure.
Description
This error code is reported if the attempt to sign the CRL fails.
Possible Cause
The CRL signature is incorrectly calculated, or the digital signing algorithm used by the CRL is not supported by the client.
Solution
Check the signing algorithm of the CRL, check whether the signature key of the CRL matches the public key, regenerate the CRL, and update the CRL.
Error Message
Certificate is not yet valid.
Description
This error code is reported if the certificate has not taken effect.
Possible Cause
The start date of the certificate is later than the current date.
Solution
Check the start date and end date of the certificate, and update or regenerate the certificate.
Error Message
Certificate has expired.
Description
This error code is reported if the certificate has expired.
Possible Cause
The end date of the certificate is earlier than the current date.
Solution
Check the start date and end date of the certificate, and update or regenerate the certificate.
Error Message
CRL is not yet valid.
Description
This error code is reported if the CRL has not taken effect.
Possible Cause
The start date of the CRL is later than the current date.
Solution
Error Message
CRL has expired.
Description
This error code is reported if the CRL has expired.
Possible Cause
The end date of the CRL is earlier than the current date.
Solution
Update the CRL using OCSP to obtain the latest CRL file.
Error Message
Self-signed certificate.
Description
This error code is reported if a self-signed certificate is used.
Possible Cause
The certificate signature is obtained through the public key of the certificate itself and is not issued by a trusted CA.
Solution
Check the certificate source, and add the self-signed certificate as a trusted CA.
Error Message
Unable to get local issuer certificate.
Description
This error code is reported if the attempt to obtain the local issuer certificate fails.
Possible Cause
The certificate storage on the client is not one issued by a trusted CA.
Solution
Error Message
Certificate has been revoked.
Description
This error code is reported if certificate has been revoked.
Possible Cause
The certificate has expired or has been revoked, or the certificate chain is incomplete.
Solution
Check whether the certificate has been revoked. If yes, use an available certificate.
Error Message
Invalid certificate authority (CA).
Description
This error code is reported if the CA is invalid.
Possible Cause
The CA certificate has expired or has been revoked, or the certificate is not issued by a trusted CA.
Solution
Check that the certificate is available and issued by a trusted CA. If not, replace it with one issued by a trusted CA.
Error Message
Certificate is untrusted.
Description
This error code is reported if the certificate is untrusted.
Possible Cause
The certificate is issued by an untrusted CA or the certificate has been revoked.
Solution
Error Message
Invalid hostname.
Description
The hostname in the certificate does not match the incoming hostname.
Possible Causes
The Subject Alternative Name (SAN) or Common Name (CN) field of the certificate does not match the incoming hostname.
Solution
Error Message
Invalid certificate verification context.
Description
This error code is reported if the certificate verification context is invalid.
Possible Cause
An intermediate certificate is missing in the certificate chain, the public key of the certificate does not match the private key, the signature verification of the certificate fails, or the host name does not match the certificate.
Solution
Check the certificate chain to make sure that all certificates and signatures are correct.