Mender.conf: Where to configure the public key for Security.AuthPrivateKey?

Hi everyone,

I’m new in mender hub and trying to configure the Security.AuthPrivateKey for device authentication with a HSM.

I read the mender docs and it seems that there is no public key field in Security. If I use manual authentication, I am supposed to transfer public key to device, so that server can use the public key to verify the auth requests from client.

My question is: if I use hosted mender, how does the server know the public key of the private key?

I just found out that mender client will extract the public key from Security.AuthPrivateKey, therefore there is no need to specify the public key in the field.

@shaomai

I take it we can mark the second post as solution?

Greetz

yes, the second reply is the solution