Hi, to get more detailed information on your issue, I would recommend using ‘openssl s_client’ to connect to your server and verify your certificate chain is valid and correctly configured.
Thank you first, but
How to be sure that the certificate chain is valid ? I used
openssl s_client -connect hostname:port -showcerts, and this gives me 3 certificates, but I am not sure about these.
Try the setup routine and restart the client. It seems that polling intervals are not defined as well.
mender setup \
--device-type $DEVICE_TYPE \
--server-url $SERVER_URL \
--server-cert /etc/mender/server.crt \
--config /mnt/mender/mender.conf \
--data /mnt/mender \
--demo-polling
# Set the public key in mender.conf to verify signed artifacts
# {
# "ArtifactVerifyKey": "/etc/mender/artifact-verify-key.pem"
# }
For some reason I had to set the --server-cert explicitly due to certificate errors and double check your URL --server-url that it has https://<domain>.com