/
Mandatory valid signature is missing

Mandatory valid signature is missing

Observation

When trying to start a custom extension (using the Enterprise Extension SDK) built with maven the hivemq.log shows statements like the following and the extension fails to start:

2022-01-05 20:03:01,726 WARN - Unable to load enterprise extension with id "sample-extension". Mandatory valid signature is missing.

Consequence

A failure to verify an extension’s signature prevents HiveMQ from starting it.

Solution

Make sure the sign task is the last to be performed and content of the resulting jar is not further modified.

Related content

ERROR - HiveMQ Enterprise Security Extension: Unhandled exception in Rest API authentication java.lang.IllegalStateException: No authorization-key set
ERROR - HiveMQ Enterprise Security Extension: Unhandled exception in Rest API authentication java.lang.IllegalStateException: No authorization-key set
More like this
Enable or disable extensions while the broker is running
Enable or disable extensions while the broker is running
More like this
ERROR - Not able to create SSL server context. Reason: Not able to open or read KeyStore '/opt/hivemq/conf/xxxxx.p12' with type 'JKS'
ERROR - Not able to create SSL server context. Reason: Not able to open or read KeyStore '/opt/hivemq/conf/xxxxx.p12' with type 'JKS'
More like this