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 https://docker.mender.io/api/devices/v1/authentication/auth_requests: 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,

https://docs.mender.io/2.1/server-integration/preauthorizing-devices

1 Like