Hi, Can you help me how to configure stunnel client to use TPM for mutual TLS authentication? I want to connect with mTLS to a remote server then make this connection available for localhost without mTLS. Thanks for your help in advance! Here is my configuration so far without TPM:
debug = debug output = /tmp/stunnel.log foreground = yes
[mtls_client] client = yes accept = 127.0.0.1:12019 sni = server-with-mtls.example.com checkHost = server-with-mtls.example.com connect = 1.2.3.4:443 verifyChain = yes CApath = /etc/ssl/certs/ cert = client.crt key = client.key
Thanks & br, Gábor Nyíri,
Hello ! I see this is quite an old question but I am trying to achieve the same thing with stunnel and TPM2 in linux, were you able to achieve this ? Thanks in advance, Victor