This indicates that the TSS is trying to connect to a TPM over a socket interface. This is typical for a software TPM aka a TPM simulator. I suspect that you do not have a TPM simulator running. On 3/5/2024 5:31 PM, Samuel Lee wrote:
# tsscreateprimary -hi p -st -opu primary.pub TSS_Socket_Open: Error on connect to localhost:2321 TSS_Socket_Open: client connect: error 111 Connection refused createprimary: failed, rc 000b0008 TSS_RC_NO_CONNECTION - Failure connecting to lower layer