A71CH demo azure_imx_connect fails

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

A71CH demo azure_imx_connect fails

1,786 Views
nd88
Contributor II

Followed the instruction provided in the tutorial.

  1. Uploading root certificates to IoT Hub
  2. Verify in Azure portal
  3. then ./buildScript.sh
  4. export OPENSSL_CONF=/simw-top/demos/linux/common/openssl_sss_a71ch.cnf
  5. ./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?

Labels (1)
Tags (4)
0 Kudos
3 Replies

1,774 Views
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @nd88 ,

 

Would you please specify the MW version?

 

Thanks for your patience!

 

Have a great day,
Kan


-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

1,770 Views
nd88
Contributor II

@Kan_Li  I am using the MW you suggested in one of my previous post.

https://www.nxp.com/webapp/Download?colCode=SE-PLUG-TRUST-MW

 

and I am using MCIMX6UL-EVKB-ND with A71CH

 

0 Kudos

1,763 Views
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @nd88 ,

 

Thanks for the clarification!

 

Have you followed the steps listed in the docs along with the MW?

For example,

Kan_Li_0-1629364599911.png

Kan_Li_2-1629365852517.png

 

and have you ever tried other demos such as "ex_ecc"? Did it also run into issue like this?

 

Have a great day,
Kan


-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

 

 

 

0 Kudos