Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
harelTur
Level 3
Level 3
25 sign-ins 10 replies posted 10 questions asked

Hi 

I try to connect to AWS woth Sterling-EWB, WICED SDK 6.6.

When I got the certificate or private key from AWS the stop on  wiced_tls_init_identity() function.

/* initialize credentials list to store credential info */
linked_list_init( &identity->credentials );

if ( credential_info != NULL )
{
if ( ( result = tls_load_certificate_key( identity, credential_info, certificate_data, certificate_length, private_key, key_length ) != WICED_SUCCESS ) )
{
WPRINT_SECURITY_ERROR((" Failed to load certificate & private key \n"));
goto ERROR_INIT;
}
}

 

 

 

image.png

0 Likes
1 Reply
Aditi_B
Moderator
Moderator
Moderator
500 replies posted 5 questions asked 250 replies posted

Hi,

Can you provide the path where you added the root certificate, client certificate and the private key in the WICED that you downloaded from AWS?

Thanks

Aditi

0 Likes