# Module signer issue

**URL:** <https://forum.inductiveautomation.com/t/module-signer-issue/43627>\
**Category:** Module Development\
**Tags:** ignition80\
**Created:** [February 19, 2021, 4:26pm UTC](https://forum.inductiveautomation.com/t/module-signer-issue/43627 "2021-02-19T16:26:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![oisin.gribben](https://avatars.discourse-cdn.com/v4/letter/o/9d8465/32.png) [@oisin.gribben](https://forum.inductiveautomation.com/u/oisin.gribben)\
**Post date:** [February 19, 2021, 4:26pm UTC](https://forum.inductiveautomation.com/t/module-signer-issue/43627/1 "2021-02-19T16:26:17Z")

</div>

Hi,  
When signing our module we are now getting this error.

```auto
Exception in thread "main" org.apache.commons.cli.UnrecognizedOptionException: Unrecognized option: -jar
        at org.apache.commons.cli.DefaultParser.handleUnknownToken(DefaultParser.java:347)
        at org.apache.commons.cli.DefaultParser.handleConcatenatedOptions(DefaultParser.java:689)
        at org.apache.commons.cli.DefaultParser.handleShortAndLongOption(DefaultParser.java:520)
        at org.apache.commons.cli.DefaultParser.handleToken(DefaultParser.java:243)
        at org.apache.commons.cli.DefaultParser.parse(DefaultParser.java:120)
        at org.apache.commons.cli.DefaultParser.parse(DefaultParser.java:76)
        at org.apache.commons.cli.DefaultParser.parse(DefaultParser.java:60)
        at com.inductiveautomation.ignitionsdk.ModuleSigner$Main.main(ModuleSigner.java:118)

```

we have never come across this before, has anyone else?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [February 19, 2021, 4:27pm UTC](https://forum.inductiveautomation.com/t/module-signer-issue/43627/2 "2021-02-19T16:27:51Z")

</div>

What is the full command are you running?

---

<div class="post-metadata">

**Author:** ![oisin.gribben](https://avatars.discourse-cdn.com/v4/letter/o/9d8465/32.png) [@oisin.gribben](https://forum.inductiveautomation.com/u/oisin.gribben)\
**Post date:** [February 19, 2021, 4:38pm UTC](https://forum.inductiveautomation.com/t/module-signer-issue/43627/3 "2021-02-19T16:38:08Z")

</div>

```auto
java -jar module-signer.jar -keystore=hanley.pfx -keystore-pwd=hanley -alias=hanley -alias-pwd=hanley -chain=hanley.p7b -module-in=Hanley-Energy-EPMS-unsigned.modl -module-out=Hanley-Energy-EPMS-signed.modljava -jar module-signer.jar -keystore=hanley.pfx -keystore-pwd=hanley -alias=hanley -alias-pwd=hanley -chain=hanley.p7b -module-in=Hanley-Energy-EPMS-unsigned.modl -module-out=Hanley-Energy-EPMS-signed.modl

```

It’s the same sign-module.bat file we’ve ran since the start

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [February 19, 2021, 4:44pm UTC](https://forum.inductiveautomation.com/t/module-signer-issue/43627/4 "2021-02-19T16:44:36Z")

</div>

> [@oisin.gribben](#):
>
> It’s the same sign-module.bat file we’ve ran since the start

You have an extra `-jar module-signer.jar` in the arguments to the module signer itself.

I don't know how that ever ran or why it stopped now.

edit: looking closer it seems you just copy/pasted the command twice?

---

<div class="post-metadata">

**Author:** ![oisin.gribben](https://avatars.discourse-cdn.com/v4/letter/o/9d8465/32.png) [@oisin.gribben](https://forum.inductiveautomation.com/u/oisin.gribben)\
**Post date:** [February 19, 2021, 5:13pm UTC](https://forum.inductiveautomation.com/t/module-signer-issue/43627/5 "2021-02-19T17:13:55Z")

</div>

thank you, that has solved a lot of headache, must have been copied by accident somewhere along the line
