I am using a TI EK-TM4C129EXL eval board to test communication with our cloud server application.  I’ve been trying to port the default application that came with it (called secure_iot) to hit against our cloud hosted endpoints to no avail.

I’ve captured the network traffic using wireshark and see that the “Client Hello” packet from the eval board lists 4 ciphers.  Our cloud server doesn’t allow any of these 4 ciphers so it closes the socket on receipt of the client hello.

I’ve tried using the wolfSSL_CTX_set_cipher_list() command at various places prior calling ServerConnect() but it always sends the same 4 ciphers.  It appears as if maybe somewhere in the TI-RTOS/wolfSSL integration that it overrides whatever I do.

What is the recommended way to specify a cipher list using wolfSSL and TI-RTOS (and it’s HTTP Client APIs)?

Is there a way to change the default cipher list for wolfSSL?