Followed the instruction provided in the tutorial.
- Uploading root certificates to IoT Hub
- Verify in Azure portal
- then ./buildScript.sh
- export OPENSSL_CONF=/simw-top/demos/linux/common/openssl_sss_a71ch.cnf
- ./azure_imx_connect --deviceid "test-device" --keypath /opt/simw-top/pycli/Provisioning/azure/528951245135856629515010_device_reference_key.pem --rootpath /opt/simw-top/demos/linux/azure/azureRootCA.pem --devcert /opt/simw-top/pycli/Provisioning/azure/528951245135856629515010_device_certificate.cer --hubname my-iot-hub.azure-devices.net --username my-iot-hub --payload "Hello World"
it fails with
App :INFO :If you want to over-ride the selection, use ENV=EX_SSS_BOOT_SSS_PORT or pass in command line arguments.
ssse-flw: Version: 1.0.5
ssse-flw: EmbSe_Init(): Exit
ssse-flw: EmbSe_Rand invoked requesting 16 random bytes
ssse-flw: EmbSe_Rand invoked requesting 16 random bytes
ssse-flw: EmbSe_Rand invoked requesting 16 random bytes
ssse-flw: EmbSe_Rand invoked requesting 32 random bytes
ssse-flw: EmbSe_Rand invoked requesting 32 random bytes
ssse-flw: EmbSe_Compute_Key invoked (ecdh)
ssse-dbg: Requested secret = 32
ssse-dbg: ** nid = 415 **
ssse-flw: No matching key in SE. Invoking OpenSSL API: ECDH_compute_key.
ssse-flw: ECDH_compute_key by OpenSSL PASS
ssse-dbg: Using keyId=0x00223344
ssse-dbg: shaAlgo: 771
ssse-flw: SSS based sign (keyId=0x00223344, dgstLen=32)
ssse-flw: SSS based sign called successfully (sigDERLen=72)
ssse-flw: EmbSe_ECDSA_Do_Sign success.
ssse-flw: EmbSe_Rand invoked requesting 16 random bytes
ssse-flw: EmbSe_Rand invoked requesting 16 random bytes
ssse-flw: EmbSe_Rand invoked requesting 16 random bytes
ssse-flw: EmbSe_Rand invoked requesting 16 random bytes
ssse-flw: EmbSe_Rand invoked requesting 16 random bytes
ssse-flw: EmbSe_Rand invoked requesting 16 random bytes
ssse-flw: EmbSe_Rand invoked requesting 32 random bytes
ssse-flw: EmbSe_Rand invoked requesting 32 random bytes
ssse-flw: EmbSe_Compute_Key invoked (ecdh)
ssse-dbg: Requested secret = 32
ssse-dbg: ** nid = 415 **
ssse-flw: No matching key in SE. Invoking OpenSSL API: ECDH_compute_key.
ssse-flw: ECDH_compute_key by OpenSSL PASS
ssse-dbg: Using keyId=0x00223344
ssse-dbg: shaAlgo: 771
ssse-flw: SSS based sign (keyId=0x00223344, dgstLen=32)
ssse-flw: SSS based sign called successfully (sigDERLen=72)
ssse-flw: EmbSe_ECDSA_Do_Sign success.
ssse-flw: EmbSe_Rand invoked requesting 16 random bytes
ssse-flw: EmbSe_Rand invoked requesting 16 random bytes
ssse-flw: EmbSe_Rand invoked requesting 16 random bytes
Failed to connect, return code -1
any idea what could be the cause, not much info for me to trouble shoot on this. May I know is the error is on A71CH or connection to azure?