powered by Jive Software

SSL: Help with KeyStoreImport needed


I am trying to import my SSL certificates manually, I have used this guide (last post) : http://www.igniterealtime.org/community/thread/32251

When I try to use the KeyStoreImport.java I get the following error:

Exception in thread “main” java.lang.NoClassDefFoundError: KeyStoreImport
Caused by: java.lang.ClassNotFoundException: KeyStoreImport
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Could not find the main class: KeyStoreImport. Program will exit.

I am using openSuse 11.1 and Java 1.6.0_14 and free StartCom SSL certificates.

**Java path: **/usr/bin/java

Openfire keys: /opt/openfire/resources/security

Working directory: /opt/openfire/resources/security/openfire-ssl

**Command Line: **java KeyStoreImport /opt/openfire/resources/security/keystore chain-cert.der key.der “doma.in_rsa”

It doesn’t matter what the command line is, I always get an error about the missing main class.

Thanks in advance :slight_smile: