Mender client x509: certificate signed by unknown authority issue

Hii everyone I am facing an issue with the preauthorization of raspberry pi3.
The server.crt file in the server and the raspberryPi3 are the same but still, the device is stuck at the Mender demo server under Preauthorized devices. The identity data sent to the Mender server is the same as generated in the Raspberry Pi. The error generated by the mender is

>level=error msg="authorize failed: transient error: authorization request failed: certificate signed by unknown authority: Post x509: certificate signed by unknown authority" module=stat

What can be the other reasons this error occurs. Please help…!!

What do you mean with this? server.crt is not supposed to be used for pre-authorization and there is a separate key par intended for this.

Take a look at,

1 Like