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

Wi-Fi Combo

hiko_4316286
Level 4
50 replies posted 25 replies posted 10 replies posted
Level 4

The following question confirms how to set up the CA check, but how do you set up the switch to enable or disable the CA check?

<How to check the CA (Certification Authority)  >

0 Likes
1 Solution
Rakesh_BG
Moderator
Moderator 10 likes received 25 solutions authored 50 replies posted
Moderator

Hi @hiko_4316286 ,

wiced_defaults.h
/* WICED TLS Options * /
#define WICED_TLS_DEFAULT_VERIFICATION (TLS_VERIFICATION_REQUIRED)

The above definition is enough for enabling TLS verification.

Thanks,

Rakesh B G

View solution in original post

0 Likes
3 Replies
Rakesh_BG
Moderator
Moderator 10 likes received 25 solutions authored 50 replies posted
Moderator

Hi @hiko_4316286 ,

wiced_defaults.h
/* WICED TLS Options * /
#define WICED_TLS_DEFAULT_VERIFICATION (TLS_VERIFICATION_REQUIRED)

The above definition is enough for enabling TLS verification.

Thanks,

Rakesh B G

0 Likes
hiko_4316286
Level 4
50 replies posted 25 replies posted 10 replies posted
Level 4

Thank you very much for your answer.

I understand that the CA check is performed by setting WICED_TLS_DEFAULT_VERIFICATION.

Incidentally, with the above setting, self-certification also works.
Am I right in thinking that the library determines the certificate and works fine (the correct private key is selected) regardless of whether the self-certificate or the third-party certificate is set?

0 Likes
Rakesh_BG
Moderator
Moderator 10 likes received 25 solutions authored 50 replies posted
Moderator

Hi @hiko_4316286 ,

yes, your understanding is correct.

 

Thanks,

Rakesh B G

0 Likes