Skip navigation
2434 Views 0 Replies Latest reply: Jun 19, 2009 2:17 PM by secret7 RSS
secret7 Bronze 1 posts since
Jun 19, 2009
Currently Being Moderated

Jun 19, 2009 2:17 PM

SSL:  Help with KeyStoreImport needed

Hi!

 

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 :-)

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points