Error: 5035 while TLS connection ?

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

cross mob
Anonymous
Not applicable

Dear Sirs,

I use https_clients example to connect google, but it show 5035 error.

What I amend is:

1. add private key

2. add public key

3. add root CA

4. Change website to www.google.com

Then terminal show 5035 error after run the example.

I trace the code and find this error is reported by wiced_tls.c, so I presume there are something wrong on TLS transaction.

Is there anyone encounter this problem ? Could it possible I use the wrong root certification (root CA) ?

PS. I use WICED-Studio-4.1-sdk, and get root CA from Let's Encrypt

0 Likes
1 Solution
JoYi_1844281
Level 6
Level 6
100 sign-ins 100 replies posted 50 likes received

As I know SDK 4.1.x https_client change the connected server from www.google.com to www.httpbin.org !

The embedded root CA in sample code is could not to used to connect www.google.com except www.httpbin.org.

If you want to access the www.google.com, the root CA have to replace with root CA of the google.com

View solution in original post

2 Replies
JoYi_1844281
Level 6
Level 6
100 sign-ins 100 replies posted 50 likes received

As I know SDK 4.1.x https_client change the connected server from www.google.com to www.httpbin.org !

The embedded root CA in sample code is could not to used to connect www.google.com except www.httpbin.org.

If you want to access the www.google.com, the root CA have to replace with root CA of the google.com

Anonymous
Not applicable

Thank you. It is working.

0 Likes