powered by Jive Software

SSL startup problem

I have a fresh install of jive and have tried 3-4 times following the SSL documentation, changing the storepassword password with: <keytool -storepasswd -keystore keystore> from the default “changeit”, generating a key with the command <keytool -genkey -keystore keystore -alias server.domain.com> and setting the key password the same as the keystore password.

Starting up the server in the logs I get the following error. I have tried each time with the default keystore files, but still get this error.

I even tried specifying <-keyalg RSA> when generating a new key but that didnt seem to help.

java version “1.5.0_01”

Java™ 2 Runtime Environment, Standard Edition (build 1.5.0_01-b08)

Java HotSpot™ Client VM (build 1.5.0_01-b08, mixed mode, sharing)

-rw-rr 1 root root 2576 2005-06-03 01:27 keystore

-rw-rr 1 root root 32 2005-06-03 01:22 truststore

Any help would be appreciated.

-Jason

2005.06.03 01:37:46 [org.jivesoftware.messenger.net.SSLConfig.(SSLConfig.java:76)] SSLConfig startup problem.

storeType:

keyStoreLocation: /opt/jive_messenger/resources/security/keystore

keypass:

trustStoreLocation: /opt/jive_messenger/resources/security/truststore

trustpass:

java.io.IOException: Keystore was tampered with, or password was incorrect

Although those files appear to be world readable, you should make sure to check the parent directory structure. I got that error a few times when the jive user wasn’'t able to traverse down to the files. Best solution is:

chown -R jive:jive /opt/jive_messenger