База Знань

  1. Домашнє
  2. Server Errors
  3. The message received was unexpected or badly formatted
Створено
Змінено

Стаття 2732

The message received was unexpected or badly formatted

Problem

The message received was unexpected or badly formatted.

HRESULT error: SEC_E_ILLEGAL_MESSAGE (0x80090326)

Cause

This error happens during the TLS protocol negotiation with the server.

Possible causes:

  1. The server only supports an insecure protocol (SSL 3.0)
  2. The server uses TLS 1.2 but only supports insecure cipher suites. E.g. DHE-RSA-AES256-SHA256 (Uses DH 1024-bit key exchange. See Logjam attack).
  3. The server uses a ECDSA certificate with a secp521r1 curve. Schannel on Windows 10 no longer supports secp521r1.
    For example, older versions of glftpd have generated a default certificate with this curve. 

Solution

Ключові Слова
TLS