Hi. I installed a couple of weeks mender server 3.1 based on the documentation " Installation with Docker Compose". The Services on the server are up and running but once I wanted to add a device I started facing issues. The device is a raspberry pi4 and this will not appear in the list of pending devices.
I went through the troubleshoot guide of the client and found the following warnings:
WARN[0000] Unable to install Mender demo cert in local trust: Cannot create file: /usr/local/share/ca-certificates/mender/mender-demo-1.crt: open /usr/local/share/ca-certificates/mender/mender-demo-1.crt: file exists
680
time="2021-11-30T22:11:28+01:00" level=warning msg="Running with demo certificate installed in trust store. This is INSECURE! Please remove /usr/local/share/ca-certificates/mender/mender-demo-3.crt if you plan to use this device in production."
It seems the problem is because the certificate created on the server needs to be add it in the client but I’m unable to figure out where in the server the certificate is located and then how to add it in the client
Yes, that was helpful. I was able to find the certificate but now I’m still struggling with the importation in the client. Following the manual https://docs.mender.io/3.1/system-updates-yocto-project/build-for-production I see there are two ways to import the file: With a layer or using the local.conf file but this two options are for the Yocto project wich I’am not working with.
So I took the iniative to add the certifcate of my server in the mender.conf file of the client and I also changed the URL in mender.conf to my Server URL. After rebooting now I’m getting a different error: