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.

CC3200: Unable to connect with AWS IOT core using CC3200

Part Number: CC3200
Other Parts Discussed in Thread: UNIFLASH, CC3100

I am trying to connect TI CC3200 with AWS IoT core through TLS : SSLv3_TLSV1_2 but having “Bad CA file” response. Steps followed,

 

  1. Created Aws Iot thing and downloaded the certificates RootCA.pem, Device Certificate.pem and private.pem.key file.
  2. Changed the certificate format to DER format as required my CC3200 device ,openssl commands used,
    1.  openssl x509 -in 3c675stf21-certificate.pem.crt -out cert.der -outform DER
    2.  openssl rsa -in 3c675stf21-private.pem.key -out private.der -outform DER
    3. openssl x509 -in AWSRootCA.pem -out ca.der -outform DER
  3. Flashed the certificates /cert/ location
  4. Certificate order assigned private key, Device certificate and Root CA. Followed example().
  5. TLS connection failed with response “Bad CA file.
  6. Tried opening connection through MQTT fx windows client app using the converted DER certificates ,TLS connection successful.

 

Enclosing the der formatted certificates. Reference followed https://git.ti.com/cgit/iotdev/aws-iot-device-sdk-embedded-c/tree/README_CC3200.md?h=v2.1.0-ti