Hosted mender mender.conf configuration

Skip to first unread message

Sam Lewis

Feb 17, 2019, 6:11:26 PM2/17/19
to Mender List
Was wondering if anyone could point me towards what mender.conf configuration I should be using with hosted mender? Maybe I didn't search hard enough but I couldn't find this documented anywhere.

At the moment I'm using:

  "ClientProtocol": "https",
  "ServerURL": "",
  "TenantToken": ".."

(Removed parts of the config that aren't related to the management server).

Does this look ok? From the 'default' config I removed the skipverify, changed the protocol to https and removed the ServerCertificate. However now when the mender client boots up it informs me that "Server certificate not provided. Trusting all servers." which I assume is not ideal! I was under the impression that hosted mender used all signed CA certs so I should be fine if I just install the ca-certificates package? How can I inform the client to only trust officially signed certs? Looking up the "todo" in the source code is a bit worrying as well:

Appreciate any help,


Kristian Amlie

Feb 18, 2019, 2:24:32 AM2/18/19
to, Sam Lewis
This is an exceptionally misleading message, and certainly wrong. It
definitely does not trust all servers. I'm surprised this message went
unnoticed for so long. See my fix for the explanation:



Sam Lewis

Feb 19, 2019, 3:35:58 AM2/19/19
to Kristian Amlie,
Thanks Kristian! That certainly makes me feel better.
Reply all
Reply to author
0 new messages