# Use of the Mender configuration add-on

**URL:** <https://hub.mender.io/t/use-of-the-mender-configuration-add-on/4135>\
**Category:** General Discussions\
**Created:** [September 30, 2021, 2:57pm UTC](https://hub.mender.io/t/use-of-the-mender-configuration-add-on/4135 "2021-09-30T14:57:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dave](https://avatars.discourse-cdn.com/v4/letter/d/ee7513/32.png) [@Dave](https://hub.mender.io/u/Dave)\
**Post date:** [September 30, 2021, 2:57pm UTC](https://hub.mender.io/t/use-of-the-mender-configuration-add-on/4135/1 "2021-09-30T14:57:24Z")

</div>

We would like to use the mender configuration add-on in our Mender (3.0) setup.  
Unfortunately configuration deployment fails:

```auto
2021-09-30 14:16:41 +0000 UTC info: Running Mender client version: 3.1.0
2021-09-30 14:16:41 +0000 UTC info: State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]
2021-09-30 14:16:41 +0000 UTC error: Fetching Artifact headers failed: installer: failed to read Artifact: reader: expecting signed artifact, but no signature file found
2021-09-30 14:16:41 +0000 UTC info: State transition: update-store [Download_Enter] -> update-status-report [none]

```

Probably the root cause is that our device firmware artifacts are signed and checked via the `*ArtifactVerifyKey*` option . Probably the scope of this option is for all types of artifacts including configuration.

As far as my limited knowledge goes are the configuration artifacts created by the mender server but not signed. Is there a work-around?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![kacf](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/kacf/32/146_2.png) [@kacf](https://hub.mender.io/u/kacf)\
**Post date:** [October 1, 2021, 5:56am UTC](https://hub.mender.io/t/use-of-the-mender-configuration-add-on/4135/2 "2021-10-01T05:56:46Z")

</div>

Hey @Dave, unfortunately using Mender-Configure and signed artifacts together is not supported at the moment.

There is a workaround, but it has some quite severe disadvantages: You can create the artifact manually, sign it, and then upload and deploy it like you would with a rootfs artifact. So it’s more work, and you lose the whole UI experience this way.

---

<div class="post-metadata">

**Author:** ![Dave](https://avatars.discourse-cdn.com/v4/letter/d/ee7513/32.png) [@Dave](https://hub.mender.io/u/Dave)\
**Post date:** [October 1, 2021, 6:58am UTC](https://hub.mender.io/t/use-of-the-mender-configuration-add-on/4135/3 "2021-10-01T06:58:00Z")

</div>

@kacf Thanks for the answer. Pity that there’s no easy workaround as I really would have liked to use this feature. Maybe you can add this limitation to the documentation?

---

<div class="post-metadata">

**Author:** ![kacf](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/kacf/32/146_2.png) [@kacf](https://hub.mender.io/u/kacf)\
**Post date:** [October 4, 2021, 6:58am UTC](https://hub.mender.io/t/use-of-the-mender-configuration-add-on/4135/4 "2021-10-04T06:58:25Z")

</div>

Good point, I have added a note about it [here](https://github.com/mendersoftware/mender-docs/pull/1568).

---

<div class="post-metadata">

**Author:** ![trogdor](https://avatars.discourse-cdn.com/v4/letter/t/b5ac83/32.png) [@trogdor](https://hub.mender.io/u/trogdor)\
**Post date:** [October 8, 2021, 5:45pm UTC](https://hub.mender.io/t/use-of-the-mender-configuration-add-on/4135/5 "2021-10-08T17:45:54Z")

</div>

Hello all! Regarding the creation of a manual configure update I have a question. What would be the proper setup of such an artifact? I tried multiple possibilities with the mender-artifact tool e.g:

```auto
./mender-artifact write module-image -T mender-configure -o artifact.mender -n sample-name -t sample-platform --software-version 1 --software-filesystem data-partition -f device-config.json

```

The content of device-config.json would be:

```auto
{
    "key":"value"
}

```

Mender-client receives the update, installs and commits it properly like it would with a configuration done via UI but the resulting json is always null. Can you publish instructions as how to properly create a configuration artifact?

Best regards

---

<div class="post-metadata">

**Author:** ![trogdor](https://avatars.discourse-cdn.com/v4/letter/t/b5ac83/32.png) [@trogdor](https://hub.mender.io/u/trogdor)\
**Post date:** [October 11, 2021, 2:02pm UTC](https://hub.mender.io/t/use-of-the-mender-configuration-add-on/4135/6 "2021-10-11T14:02:27Z")

</div>

For anyone interested: Use `-m device-config.json` instead of `-f device-config.json`. This adds the json as meta-data which is apparently expected by the `mender-configure`
