How do you sign a unsigned modl file

I have compiled this file.
Kafka-Ignition-Module-unsigned.modl
How the heck do you sign it so I can use it in maker.
I looked here:


and here:
https://docs.inductiveautomation.com/display/SE/Module+Signing
and here:

How do you make a self-generated and self-signed code signing certificate.

This is really 2 topics in one.

  1. Generating a certificate
  2. Signing a module

Signing a module is relatively straightforward with the tool the IA provides.

Certificates have more to do with security than Ignition. You might want to consult other documentation such as the following:

https://www.ibm.com/support/knowledgecenter/SSMNED_5.0.0/com.ibm.apic.cmc.doc/task_apionprem_gernerate_self_signed_openSSL.html

Hope this helps!

2 Likes

I was able to create the signed module.
But when I go to install in ignition gateway I get this error:
java.security.cert.CertificateParsingException: signed fields invalid

Hers log that pertains to error:
java.security.cert.CertificateParsingException: signed fields invalid

at java.base/sun.security.x509.X509CertImpl.parse(Unknown Source)

at java.base/sun.security.x509.X509CertImpl.(Unknown Source)

at java.base/sun.security.provider.X509Factory.parseX509orPKCS7Cert(Unknown Source)

at java.base/sun.security.provider.X509Factory.engineGenerateCertificates(Unknown Source)

at java.base/java.security.cert.CertificateFactory.generateCertificates(Unknown Source)

at com.inductiveautomation.ignition.common.util.SecurityUtils.parseX509Certificates(SecurityUtils.java:244)

at com.inductiveautomation.ignition.common.util.SecurityUtils.parseX509Certificates(SecurityUtils.java:218)

at com.inductiveautomation.ignition.gateway.web.pages.config.ModuleInstallPage.eulaCertCheck(ModuleInstallPage.java:116)

at com.inductiveautomation.ignition.gateway.web.pages.config.ModuleInstallPage$1.onSubmitInternal(ModuleInstallPage.java:71)

at com.inductiveautomation.ignition.gateway.web.components.CsrfPreventingForm.onSubmit(CsrfPreventingForm.java:67)