Exception when importing a self-signed module in 7.8.4b1

Hi,

i just tried to import a module with a self-signed certificate to 7.8.4 beta 1. This fails with an ArrayIndexOutOfBoundsException.
I created a simple key pair with KeyStoreExplorer. The p7b keychain was created with the ‘Export certificate chain’ function in KeyStoreExplorer.
Any ideas what i am doing wrong?

INFO | jvm 1 | 2016/08/22 21:39:29 | ERROR [ModuleInstallPage ] [21:39:29,291]: java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0 INFO | jvm 1 | 2016/08/22 21:39:29 | java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0 INFO | jvm 1 | 2016/08/22 21:39:29 | at java.util.Vector.get(Vector.java:748) INFO | jvm 1 | 2016/08/22 21:39:29 | at com.inductiveautomation.ignition.gateway.util.GatewayUtils.getCertCommonName(GatewayUtils.java:519) INFO | jvm 1 | 2016/08/22 21:39:29 | at com.inductiveautomation.ignition.gateway.web.pages.config.ModuleCertificateAcceptPage.<init>(ModuleCertificateAcceptPage.java:160) INFO | jvm 1 | 2016/08/22 21:39:29 | at com.inductiveautomation.ignition.gateway.web.pages.config.ModuleInstallPage.eulaCertCheck(ModuleInstallPage.java:170) INFO | jvm 1 | 2016/08/22 21:39:29 | at com.inductiveautomation.ignition.gateway.web.pages.config.ModuleInstallPage$1.onSubmit(ModuleInstallPage.java:62)

Your certificate needs to have the Common Name (CN) defined. The one in this module only has email.

Thank you, that solved the problem. :thumb_left: