Announcements

Help us improve the Power & Sensing Selection Guide. Share feedback

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

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

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
Moderator
50 solutions authored 100 replies posted 100 sign-ins

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
Moderator
50 solutions authored 100 replies posted 100 sign-ins

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

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

Hi @hiko_4316286 ,

yes, your understanding is correct.

 

Thanks,

Rakesh B G

0 Likes