3.3.5.3 TLS Negotiation State

Applies to only TDS 8.0

If the next packet from the TDS client is not a TLS negotiation packet, or if the packet is not structurally correct, the TDS server closes the underlying transport connection, indicates an error to the upper layer, and enters the "Final State" state. A TLS negotiation packet is a standard TLS packet. The TDS server MUST exchange the TLS negotiation packet with the client and reenter this state until the TLS negotiation is successfully completed. In this case, the TDS server enters the “PRELOGIN Ready” state.