Hello,

I’m running into an issue with using Mbed-TLS on an embedded device of ours and I’m curious if anyone would be able to point me in the right direction. If this is the wrong channel for general use questions, let me know and I’ll search elsewhere. As a forewarning, I’m still getting my bearings around the nuts and bolts of Mbed-TLS and network security; apologies if I misstate something or jumble things up.

Our device uses Mbed-TLS 3.0.0; ideally I’d like to upgrade this to a newer version, but this version was included in a SDK package for our device and I’d like to get some basic functionality proven out first before trying to reintegrate a newer version into the rest of provided code. The current goal is to get our device to serve a web page over HTTPS with TLS.

What we currently see is that the initial hello client and server messages are exchanged without issue, but the connection is rejected after the server requests a certificate from the client. In some browsers, this opens a prompt where you can select a given certificate on the machine; in others, it skips this prompt and sends a response back with an empty certificate. In both instances, the server will return an error and deny the connection.

This seems like some sort of user configuration error, given your average web page served over HTTPS on the internet avoids making this request. The literature I’ve been able to find so far also seems to suggest this request is entirely optional. Is there some option I’m overlooking that makes the server skip asking the client for its certificate and lets connection continue on?

 

Michael Reutman
Senior Embedded Software Engineer

 

NovaTech Automation   

261 Brodhead Rd.

Bethlehem, PA 18017

novatechautomation.com | NovaTechLinkedIn 

 

NovaTech Automation is Net Zero committed. #KeepItCool

Receipt of this email implies compliance with our terms and conditions.