Adding STSAFE with mbedTLS client for IoT work
Hello all,
I am working on creating a secure IoT device. The device is configured as MQTT client which will be sending sensors data to the sever over MQTT. I have implemented encryption using mbed-TLS where I confirm server's authenticity with server CA certificate.
Now I wish to implement 2 way authentication where I need to send client certificate to the server for verifying client authenticity by server.
I see it is possible with the help of mbed-TLS but we need to provide private key of the client to mbedTLS which is not possible since we cannot extract private key out of STSAFE.
I have been searching on this from almost a month and I have not been able to find a direct example on implementing this.
Also, the STSAFE examples are not clear about implementing this with mbedTLS.
I am in search of something that links stsfae with mbedTLS for client authentication.
Can anyone please guide me how to implement this?
