# \--hosted-mender option does not work for account hosted on EU hosted Mender

**URL:** <https://hub.mender.io/t/hosted-mender-option-does-not-work-for-account-hosted-on-eu-hosted-mender/8219>\
**Category:** General Discussions\
**Tags:** mender-client, hosted-mender, eu-server\
**Created:** [March 25, 2026, 12:29pm UTC](https://hub.mender.io/t/hosted-mender-option-does-not-work-for-account-hosted-on-eu-hosted-mender/8219 "2026-03-25T12:29:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pavlo.shvaiko](https://avatars.discourse-cdn.com/v4/letter/p/cab0a1/32.png) [@pavlo.shvaiko](https://hub.mender.io/u/pavlo.shvaiko)\
**Post date:** [March 25, 2026, 12:29pm UTC](https://hub.mender.io/t/hosted-mender-option-does-not-work-for-account-hosted-on-eu-hosted-mender/8219/1 "2026-03-25T12:29:46Z")

</div>

Hi everyone!

Setting up mender-client using `--hosted-mender` option passed to `mender-setup` does not work for account hosted on the EU mender server [https://eu.hosted.mender.io/](https://eu.hosted.mender.io/). The account cannot be found.  
As a workaround I provided the `--server-url` “[https://eu.hosted.mender.io](https://eu.hosted.mender.io)” manually. However, later I was asked to provide the path to the server certificate which I just left blank which means the integrity of artifacts is most likely not checked. I think if `--hosted-mender` option worked the security and certificates would be setup automatically.

Mender software installed:

```auto
ii mender-auth 5.1.0-1+debian+trixie amd64 Mender auth
ii mender-client-version-inventory-script 6.0.0-1+debian+trixie all Mender client version inventory script
ii mender-client4 5.1.0-1+debian+trixie amd64 Mender client
ii mender-flash 1.1.0-1+debian+trixie amd64 Mender Flash is an utility to flash block devices used by the Mender Client
ii mender-setup 1.0.3-1+debian+trixie amd64 Mender Setup is a standalone tool to configure the Mender Client. It writes the
ii mender-snapshot 1.0.0-1+debian+trixie amd64 Mender Snapshot is a standalone tool to create a snapshot of the
ii mender-update 5.1.0-1+debian+trixie amd64 Mender update

```

I would like to know whether this behavoir is expected? And what is the recommended way to setup security so that artifacts are verified before being applied?

Thanks for any help!
