Hi,
I'm trying to leverage SE050 from a host to which the SE050 isn't connected over I2C. The SE050 is accessible over I2C at another host, which is accessible across the network. Take for example this configuration: Host1 <-> Host2 <-> SE050, where Host1 and Host2 are connected to the same network, and SE050 is connected to Host2 via I2C.
My goal is to allow for Host1 to set up a TLS connection to an external host by using the certificates and keys stored on SE050. From what i can see this is not to far off from a standard network accessible HSM, but I haven't found anything specific to this use case.
Having banged my head against the wall for a month I'm stuck with no viable solution. I've managed to forward command line calls to openssl and ssscli over ssh to Host2, but this doesn't help as library functions are untouched. My best guess is to edit the OpenSSL engine in the Plug & Trust middleware software so that OpenSSL doesn't access the SE050 directly over I2C, but over I2C via a connection to Host2 - however it isn't done in an hour.
Is there any previous work done here, or does anyone have a different approach in mind?