Schannel Error Codes for TLS and SSL Alerts

Schannel returns the following error messages when the corresponding alert is received from the Transport Layer Security (TLS) or Secure Sockets Layer (SSL) protocols. The error messages are defined in Winerror.h.

SymbolicCodeDescription
SEC_E_ILLEGAL_MESSAGE0x80090326
SEC_E_MESSAGE_ALTERED0x8009030F
SEC_E_DECRYPT_FAILURE0x80090330
SEC_E_CERT_UNKNOWN0x80090327
CRYPT_E_REVOKED0x80092010
SEC_E_CERT_EXPIRED0x80090328
SEC_E_UNTRUSTED_ROOT0x80090325
SEC_E_LOGON_DENIED0x8009030C
SEC_E_UNSUPPORTED_FUNCTION0x80090302
SEC_E_ALGORITHM_MISMATCH0x80090331
SEC_E_INTERNAL_ERROR0x80090304
SEC_E_UNFINISHED_CONTEXT_DELETED0x80090333
12 entries

Article text from the Win32 documentation (opens in a new tab), by Microsoft, under the CC BY 4.0 (opens in a new tab) licence.