Handshake TLS download cert

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

cross mob
Anonymous
Not applicable

TLS exemple work fine but the certificate is hardcoded.

Is it possible to download the certificate during the handshake ?

Ludo

0 Likes
1 Solution
VinayakS_26
Moderator
Moderator
Moderator
100 replies posted 50 replies posted 25 replies posted

Hi Ludo,

You could also write an application that hosts a webpage where you could upload the certificate rather than using the one present in DCT.

View solution in original post

0 Likes
2 Replies
VinayakS_26
Moderator
Moderator
Moderator
100 replies posted 50 replies posted 25 replies posted

Hi Ludo,

Could you clarify on what you meant by "downloading the certificate". The ca certificate and the private key are stored in the DCT. You could generate your own certificate and private key pair and add the path to it in the application Makefile.  Is it that you want to fetch and display(in UART terminal)the negotiated server certificate during handshake while your WICED device acts as a client?

0 Likes
VinayakS_26
Moderator
Moderator
Moderator
100 replies posted 50 replies posted 25 replies posted

Hi Ludo,

You could also write an application that hosts a webpage where you could upload the certificate rather than using the one present in DCT.

0 Likes