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,
- Created Aws Iot thing and downloaded the certificates RootCA.pem, Device Certificate.pem and private.pem.key file.
- Changed the certificate format to DER format as required my CC3200 device ,openssl commands used,
- openssl x509 -in 3c675stf21-certificate.pem.crt -out cert.der -outform DER
- openssl rsa -in 3c675stf21-private.pem.key -out private.der -outform DER
- openssl x509 -in AWSRootCA.pem -out ca.der -outform DER
- Flashed the certificates /cert/ location
- Certificate order assigned private key, Device certificate and Root CA. Followed example().
- TLS connection failed with response “Bad CA file.
- 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