AWS IoT Connection error : Invalid “caCert” option supplied with aws-iot-device-sdk
问题 I've provisioned a device in AWS with device Certificate which is signed by my CA. Also, I've registered my CA along with verificationCert in AWS previously. Now when I send the data, In the options, var awsIot = require('aws-iot-device-sdk'); var device = awsIot.device({ privateKey: '--BEGIN RSA PRIVATE KEY--', //private key of my device clientCert: '--BEGIN CERTIFICATE --', //cat deviceCertificate and registered CA caCert: '--BEGIN CERTIFICATE--', //Amazon root CA clientId: 'Thing01',