Closed necrobious closed 4 years ago
Thanks @necrobious for you interest, this is the right place to ask questions. Regarding your question, it should work with openssl client as well, let me figure out the reason.
Hi, @necrobious, sorry that it took so much time. It turns out we need some more time to investigate the reason (it can take a few weeks). In the meantime if you don't need the RSA or shielded connection functionality, you can use Trust X CLI as these products are compatible for features they share.
Not sure if github issues was the place to ask questions, I didn't see a TrustM section over on the Infineon forums.
I've been able to build the cli tools and openssl engine on an rpi v4, using Raspbian (buster), and was able to verify connectivity to the TrustM using
trustm_chipinfo
. I love the trustm, and overall my experience with it has been very positive. thank you!Following the examples in README.md, I was able to to successfully use the engine to create a key pair, to export the public key, and generate a CSR. I then was able to use the CSR with AWS IoT, get back an AWS signed X.509 cert and loaded the cert and the AWS CA root cert into the TrustM.
My question is, on a linux rpi, is there a tested mTLS example, using, for example s_client?
So far, my attempts to get s_client w/ the trustm_engine working have not been successful (testing against the tls_echo_server.go from the mbedTLS Infineon repo, which I am able to connect to without using the trustm_engine). Before I spend more time attempting to troubleshoot my s_client failure, I wanted to ask if there was a known mTLS linux client example.
This is the failure output I'm seeing from s_client (I have debugging enabled where I can):
Thanks again!