Knowledge Base

Home > Server Errors > The message received was unexpected or badly formatted

Created
Modified

Article 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 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

Keywords
TLS