This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP432E401Y: TLS Server Name Indication

Part Number: MSP432E401Y

Tool/software:

I am trying to connect to AWS IoT using MQTT.  AWS requires the SNI extension to TLS.  This means the name of the server is sent with the Client Hello message during negotiation of the connection.  I can see that the SNI extension is enabled in the mbed TLS library.  The problem is that I don't have access to the context needed to make the call directly to the mbed tls library because of the SlNet wrapper.  I found a security attribute called SLNETSOCK_SEC_ATTRIB_DOMAIN_NAME and set that to the server name, but it does not generate the SNI extension to the Client Hello message.  Is there an SlNet function that I can use to set the SNI in the mbed TLS library?