mbedTls

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

mbedTls

1,414 Views
asvitha
Contributor I

Dear all,

         I am using mbedtls libraries for tls connection . i connected with my pc broker it is connecting and publishing. if i connected with any other pc broker with same certificates it is not connected .In wireshark, while handshaking (after server hello done) i am getting alert message .

if i connected with my broker pc in terminal i am getting this message,

mqtt client is connected

protocol version TLS1.2

ciphersuite is TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256

if i connected with any other pc in terminal i am getting this message,

mqtt client is not connected

protocol version SSLV3.0

ciphersuite is 

0 Kudos
1 Reply

1,386 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi asvitha,

 I don't know which NXP chip you are using, do you use the RT chip?

  If yes, do you test the NXP SDK code, take RT1060 as an example:

SDK_2.8.6_EVK-MIMXRT1060_freertos\boards\evkmimxrt1060\mbedtls_examples

Do you try that code? Whether it works for your or not?

You also can check:

SDK_2.8.6_EVK-MIMXRT1060_freertos\boards\evkmimxrt1060\lwip_examples\lwip_httpssrv_mbedTLS

SDK_2.8.6_EVK-MIMXRT1060_freertos\boards\evkmimxrt1060\lwip_examples\lwip_httpscli_mbedTLS

The related code all has the readme.txt, you can follow it, thanks.

 

Best Regards,

Kerry

 

 

0 Kudos