PKCS11 not working on mender client with TPM

Hi @oleorhagen,

Yes, the problem is related to the environment variable OPENSSL_CONF when the process is launched by systemd.

You have to add a line in the /usr/lib/systemd/system/mender-client.service file under the [Service] section with the following content.

Environment="OPENSSL_CONF=<PATH_TO_OPENSSL_CONF"

I hope this helps.

1 Like