Hi Kan_Li,
The provisionTlsClient.py executed successfully with --auth_type PlatformSCP.
Thank you for your support.
Next I try to run the ./tlsExtendedSeClient.sh. But I got the next error message,
Could you give me some advice on what to do?
pi@raspberrypi:~/Project/nxp/se_mw/simw-top/demos/linux/tls_client/scripts $ ./tlsExtendedSeClient.sh 192.168.121.15 EC
/home/pi/Project/nxp/se_mw/simw-top/demos/linux/tls_client/scripts
IOT_SE=se050
Config file is loaded in C example
Connecting to 192.168.121.15:8080
>> ../build/tlsSe050Client 192.168.121.15:8080 EC ../credentials/prime256v1/tls_rootca.cer nxp:0x7DCCBB10
../build/tlsSe050Client (Rev.0.9.2)
servername:port = 192.168.121.15:8080
keyType: EC
rootCA: ../credentials/prime256v1/tls_rootca.cer
clientKey: nxp:0x7DCCBB10
wrapConnectToSe: Open connection to secure element.
App :INFO :If you want to over-ride the selection, use ENV=EX_SSS_BOOT_SSS_PORT or pass in command line arguments.
App :INFO :Using default PlatfSCP03 keys. You can use keys from file using ENV=EX_SSS_BOOT_SCP03_PATH
sss :INFO :atr (Len=35)
00 A0 00 00 03 96 04 03 E8 00 FE 02 0B 03 E8 08
01 00 00 00 00 64 00 00 0A 4A 43 4F 50 34 20 41
54 50 4F
sss :WARN :nxEnsure:'ret == SM_OK' failed. At Line:7837 Function:sss_se05x_TXn
sss :WARN :nxEnsure:'status == SM_OK' failed. At Line:4541 Function:sss_se05x_key_store_get_key
Fetching client certificate fails with status code: 0x3c3c0000.
Failed to retrieve client certificate.
******** TLS Client Example (Credentials in Secure Element) = Fail ********
"../build/tlsSe050Client 192.168.121.15:8080 EC ../credentials/prime256v1/tls_rootca.cer nxp:0x7DCCBB10" failed to run successfully, returned 1