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

Wi-Fi Combo Forum Discussions

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
AditiB_81
Moderator
Moderator
Moderator
5 questions asked 250 replies posted 250 sign-ins

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